Why do I get error messages when an SBML file created by exporting a SimBiology model is imported into a third-party tool?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 18 Nov 2013
Answered: MathWorks Support Team
on 29 Nov 2013
I have a SimBiology project in which I define some reactions in MATLAB functions. If I export the model as .sbml file and test this file in the sbml validator (<http://sbml.org/Facilities/Validator/index.jsp)>, I get the error messages with ids 10214 and 21121.
Accepted Answer
MathWorks Support Team
on 18 Nov 2013
You may see errors when using third-party tools to import SBML files created by SimBiology when your model uses functionality that is not supported for SBML export. In particular, SimBiology does not export function definitions for MATLAB functions referenced in a SimBiology model. To maintain compatibility with SBML, your SimBiology model should only reference the MATLAB equivalent of functions that are predefined in MathML (for example, cos and abs). Alternatively, you can manually edit an SBML file created by SimBiology to include MathML function definitions for any referenced functions. Also note that the export functionality of SimBiology (i.e. "sbmlexport") only exports the SimBiology model object but nothing else that is contained within a SimBiology project (such as data or results). Unsupported modeling elements and any other SBML limitations are described in the documentation: <http://www.mathworks.com/help/simbio/gs/simbiology-and-sbml.html> . Some of these limitations are inherent to the limitations of SBML itself. For example, SBML cannot describe the data that are stored in SimBiology projects.
0 Comments
More Answers (0)
See Also
Categories
Find more on Import Data in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!