Jacopo Biasetti in MATLAB Answers
Última actividad el 29 de Nov. de 2022

Hi, I'm trying to import the attached .xml Simbiology file taken from literature (just zipped to be able to attach it) using the command. modelObj = sbmlimport('GutInflammation.xml'); I receive the following error message, both with R2021b and R2022b. The error message is self-explanatory, but wonder how to correctly fix this issue in the file. Error using SimBiology.internal.sbml.read Unable to read the file 'C:\Users\kjgm780\Downloads\cts12849-sup-0004-supinfo\ModelCode\GutInflammation.xml'. The format may be incorrect, or the file may be corrupted. See the following message for more information: Missing a required XML attribute. The unitDefinition attribute 'id' is required. Error in privatesbmlio Error in sbmlimport>loadModelFromFile (line 74) modelObj = privatesbmlio('read',nargout,{tempFileName}); Error in sbmlimport (line 30) modelObj = loadModelFromFile(filenameOrUrl); Many thanks, Jacopo
Richard Allen in MATLAB Answers
Última actividad el 19 de Feb. de 2014

I'm trying to import this SBML model into SimBiology using the sbmlimport function. Unfortunately this results in an immediate crashing of MATLAB (2010b and 2013a) - does anyone have any suggestions on how to proceed or diagnose the issue? Many thanks, Richard