Print ODEs from an sbproj file.

Simbiology Desktop shows the ODEs in terms of fluxes. This script substitutes the flux values in to ODEs and prints the ODEs to screen.
Updated 5 Oct 2022

View License

Simbiology Desktop generally shows the fluxes first, and then the ODEs in terms of fluxes. This script substitutes the flux values in to the ODEs and prints the resultant ODEs to the screen.
The demo file (with the name 'demo_print_ODEs.m') provided with the actual code file creates a sample model, and prints the ODEs of that sample model.
If you have any questions, please post them in the discussion box.
Special thanks to Jesse for finding the bugs, providing solutions and other improvements.
NOTE : The printed ODEs are just for better understanding. Integrating them may not give the results similar to that of sbiosimulate. This is because sbiosimulate does volume correction for compartments that change volume with time, and a lot of other things. It is not the same as simply integrating the ODEs printed by the script.

Cite As

Ravi Kumar Pallantla (2024). Print ODEs from an sbproj file. (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
More Files in the  SimBiology Community

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Added line 72 in the file 'print_ODEs_from_simbiology_model.m'


Added output to the function, and print_to_screen as an additional input. Also fixed a bug pointed out in