sbmlimport

Import SBML-formatted file

Syntax

modelObj = sbmlimport(File)

Description

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

File is a string 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 2 Version 4 and earlier.

For functional characteristics and limitations, see SBML Support.

Input Arguments

File

String specifying either of the following:

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

  • URL (if you have Java programming language)

Examples

Import SBML model:

sbmlobj = sbmlimport('oscillator.xml');

Alternatives

Use the SimBiology® desktop to import an SBML-formatted file. For more information, see Importing and Exporting Models, Tasks, and Data from the Desktop and Importing from SBML Files.

References

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

Was this topic helpful?