User Manual | Importing and Exporting | Exporting Berkeley Madonna Files

Since the way ordinary differential equations are specified is similar between different programs that take such input, it should be rather easy to adjust the exported file for import in other programs as for example the free XPPaut program or even Mathematica.

Warning: Berkeley Madonna does not support all mathematical functions available in COPASI if such a function is used in a model, COPASI will write the string "ILLEGAL FUNCTION" to the exported file instead of the name of the function. Naturally this will lead to an error message when one tries to load the file in Berkeley Madonna. Functions currently not supported by Berkeley Madonna are: sec, csc, cot, sech, csch, coth, arcsec, arccsc, arccot, arcsech, arccsch, arccoth, floor, ceil, factorial, modulus and logical xor.

The Constants for TRUE, FALSE, and Euler's number will be exported as numerical values where FALSE will be exported as 0 and TRUE will be exported as 1. Likewise infinity and "not a number" are exported as the strings "inf" and "nan" respectively.

COPASI adds comments to variables in the ODE by using the semicolon to separate the comment from the actual code. Since this feature has been added to Berkeley Madonna in Version 7.0 the exported code cannot be used with older versions of Berkeley Madonna.

The Constants for TRUE, FALSE, and Euler's number will be exported as numerical values where FALSE will be exported as 0 and TRUE will be exported as 1. Likewise infinity and "not a number" are exported as the strings "inf" and "nan" respectively.

COPASI adds comments to variables in the ODE by using the semicolon to separate the comment from the actual code. Since this feature has been added to Berkeley Madonna in Version 7.0 the exported code cannot be used with older versions of Berkeley Madonna.

In order to export the set of differential equations to a Berkeley Madonna file, you select the Export ODEs menu entry from COPASI's File menu. In the save dialog that shows up, you select