This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the 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.

Was this topic helpful?