- Which MATLAB release are you using?
- Does the example from the documentation sbmlobj = sbmlimport('oscillator.xml'); work?
- Can you post an example which causes the error here?
Error in sbmlimport - Conversion from SBML/XML to stochiometric matrix
3 views (last 30 days)
Show older comments
I am using sbmlimport function to convert KEGG pathway SBML (KGML) file into stochiometric matrix. It has .xml extension, but getting this error -- Error using SimBiology.SBMLReadWrite/sbmlread. A fatal error occurred reading in this file. Error in privatesbmlio (line 26). Error in sbmlimport (line 62) ret = privatesbmlio('read',nargout,{fullfilename, varargin});
3 Comments
Answers (1)
Ingrid Tigges
on 25 Jun 2015
Hi Namrata,
The files from KEGG are not in the SBML format but in the KGML format (see KGML specification information ). SimBiology cannot read in KGML files. There are however tools available on the internet, for example this tool which allow the conversion of KGML files into the SBML format.
See Also
Categories
Find more on Import Data in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!