How to view differential equations produced by SimBiology?

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.

 Risposta accettata

Più risposte (1)

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

Community

Più risposte nel  SimBiology Community

Categorie

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by