This function enables you to import systems of ODEs described using BerkeleyMadonna syntax into SimBiology. Just pass in the file name of the BerkeleyMadonna model and get the SimBiology model object as output.
Some elements of BerkeleyMadonna are not supported, however:
(i) difference equations
(ii) higher-order equations
(iii) ODEs in STELLA notation
(iv) if/then constructs and logical operators among others
Please check the code to see a complete listing of unsupported elements.
Step functions in the BerkeleyMadonna model are converted into equivalent SimBiology constructs (i.e., doses in the case of pulse, events and repeated assignments in the case of squarepulse and step).
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.