This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Import SBML-formatted file


modelObj = sbmlimport(File)


modelObj = sbmlimport(File) imports File, a Systems Biology Markup Language (SBML)-formatted file, into MATLAB and creates a model object modelObj.

File is a character vector specifying a file name or a path and file name supported by your operating system. File extensions are .sbml or .xml.File can also be a URL, if you have the Java® programming language.

sbmlimport supports SBML Level 3 Version 1 and earlier.

For functional characteristics and limitations, see SBML Support.

Input Arguments


Character vector specifying either of the following:

  • File name or path and file name supported by your operating system

  • URL (if you have Java programming language)


Import SBML model:

sbmlobj = sbmlimport('oscillator.xml');


Finney, A., Hucka, M., (2003). Systems Biology Markup Language (SBML) Level 2: Structures and facilities for model definitions.

Introduced before R2006a

Was this topic helpful?