How to use the 'exist' function for a SimBiology built-in function?
Ältere Kommentare anzeigen
SimBiology has a kinetic law built-in called 'MassAction'. I want to use 'exists' to detect whether it is in there or not (then I'll use it in an if formula). Simply using 'exists('MassAction')' does not work as it gives a negative even though I know it is there. Does anybody know how I can get this to work?
Thanks
Akzeptierte Antwort
Weitere Antworten (1)
Arthur Goldsipe
am 8 Jan. 2015
0 Stimmen
Hi Ciaran
The MassAction kinetic law is always included in SimBiology, so you can always use it in a SimBiology model. It's also possible to search for or verify the existence of a built-in or user-defined kinetic law. If you can clarify how/why you need that information to use it in a formula, then someone can show you how to get that information if it's really necessary.
-Arthur
2 Kommentare
Ciaran
am 8 Jan. 2015
Arthur Goldsipe
am 8 Jan. 2015
Ok, that makes sense. I'll add a new answer that describes a couple of ways to do this.
Communitys
Weitere Antworten in SimBiology Community
Kategorien
Mehr zu Extend Modeling Environment finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!