Main Content

sbmlexport

Export SimBiology model to SBML file

Syntax

sbmlexport(modelObj)
sbmlexport(modelObj, 'FileName')

Arguments

modelObjModel object. Enter a variable name for a model object.
FileNameXML file with a Systems Biology Markup Language (SBML) format. Enter either a file name or a path and file name supported by your operating system. If the file name does not have the extension .xml, then .xml is appended to end of the file name.

Description

sbmlexport(modelObj) exports a SimBiology® model object (modelObj) to a file with a Systems Biology Markup Language (SBML) Level 2 Version 4 format. The default file extension is .xml and the file name matches the model name.

sbmlexport(modelObj, 'FileName') exports a SimBiology model object (modelObj) to an SBML file named FileName. The default file extension is .xml.

A SimBiology model can also be written to a SimBiology project with the sbiosaveproject function to save features not supported by SBML.

For more information about features that are supported by SimBiology but not by SBML or vice visa, see SBML Support.

Examples

Export a model (modelObj) to a file (gene_regulation.xml) in the current working directory.

sbmlexport(modelObj,'gene_regulation.xml');

References

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

Version History

Introduced before R2006a