How to view differential equations produced by SimBiology?

7 views (last 30 days)
I am reproducing a published model and need to view the differential equations produced by the SimBiology functions. I am using a script (rather than the GUI interface) though I can import the model into the SimBiology GUI if the solution requires. Does anybody know how to see the differential equations from a SimBiology model.
Thanks in advance.

Accepted Answer

Ciaran
Ciaran on 8 Jan 2015
You can use the GUI to export model equations.

More Answers (1)

Arthur Goldsipe
Arthur Goldsipe on 8 Jan 2015
Hi Ciaran,
In addition to exporting to equations within the desktop, you can get a text version of the equations from the command line using getequations. For example, if your model is stored in variable modelObj, you can do the following:
textEquations = getequations(modelObj)
You can find more information on getequations here.
-Arthur

Communities

More Answers in the  SimBiology Community

Products

Community Treasure Hunt

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

Start Hunting!