Import SBML file with function definitions into SimBiology
These functions allow you to import SBML files containing function definitions into SimBiology.
Two methods are available:
- sbmlimportFunExternal
This function saves each function definition as separated MATLAB function in the current directory.
The resulting SimBiology model supports the 'Model acceleration' mode.
Function definitions containing the MathML function 'piecewise' are also supported.
In that case, to ensure that the ODE solver registers the transitions events are added to the SimBiology model.
- sbmlimportFunReplace
This function replaces all function calls in the reaction rates by the associated expressions.
The resulting SimBiology model supports the 'Model acceleration' mode.
It does not support the use of the MathML function 'piecewise' in the function definitions.
Usage:
sbmlimportFunExternal()
sbmlimportFunExternal(filename)
sbmlimportFunReplace()
sbmlimportFunReplace(filename)
Zitieren als
Jeremy Huard (2024). Import SBML file with function definitions into SimBiology (https://www.mathworks.com/matlabcentral/fileexchange/51551-import-sbml-file-with-function-definitions-into-simbiology), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Communitys
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.1 | Updated license |
||
1.1.0.0 | -Both methods:
- sbmlimportFunExternal:
|
||
1.0.0.0 | - Updated function headers.
|