Import SBML file with function definitions into SimBiology

版本 1.1.0.1 (9.0 KB) 作者: Jeremy Huard
Functions to import SBML files containing function definitions into SimBiology.
304.0 次下载
更新时间 2016/9/1

查看许可证

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)

引用格式

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. 检索来源 .

MATLAB 版本兼容性
创建方式 R2015a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 QSP, PKPD, and Systems Biology 的更多信息
社区
SimBiology 社区中有更多文件

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.1.0.1

Updated license

1.1.0.0

-Both methods:
* better warning handling
* replace math and logical operators in SBML functions and event triggers

- sbmlimportFunExternal:
* add events for 'piecewise' calls only if trigger contains non-constant parameters, species or volumes.

1.0.0.0

- Updated function headers.
- sbmlimportFunExternal: Piecewise function defined in a separated MATLAB file instead of a subfunction.