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.

 采纳的回答

更多回答(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

社区

更多回答在  SimBiology Community

类别

在 帮助中心 和 File Exchange 中查找有关 Import Data 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by