I am very new to SBML at all and thus having some questions how to get
started. I used the CellDesigner to create a SBML file containing my
model. Then I wanted to use this model in MatLab (with the SBToolbox).
Therefore I followed the instructions to install both libsbml and also
the SBToolbox successfully. When I tried the following in MatLab an
error occured and I don't know how to solve this problem:
------------------------------------------------------------------------------------
>> model = SBmodel('my_model.xml')
??? Undefined command/function 'TranslateSBML'.
Error in ==> @SBmodel/private/SBimportSBML at 39
SBMLmodel = TranslateSBML(SBMLmodelFile);
Error in ==> SBmodel.SBmodel at 150
[SBstructure,errorMsg] = SBimportSBML(filename);
>>
------------------------------------------------------------------------------------
I also tried to install the SBMLToolbox for MatLab. When I typed in
"make" the following error occured:
------------------------------------------------------------------------------------ [root@rapc77 toolbox]# make
mex -I/usr/local/include -L/usr/local/lib TranslateSBML.c -lsbml
TranslateSBML.c:61:30: xml/ParseMessage.h: No such file or directory
TranslateSBML.c:62:23: util/util.h: No such file or directory
TranslateSBML.c: In function `GetKineticLaw':
TranslateSBML.c:1687: warning: passing arg 1 of `LookForCSymbolTime'
discards qualifiers from pointer target type
TranslateSBML.c: In function `GetRule':
TranslateSBML.c:2052: warning: passing arg 1 of `LookForCSymbolTime'
discards qualifiers from pointer target type
TranslateSBML.c: In function `GetFunctionDefinition':
TranslateSBML.c:2286: warning: passing arg 1 of `LookForCSymbolTime'
discards qualifiers from pointer target type
TranslateSBML.c: In function `GetEvent':
TranslateSBML.c:2409: warning: passing arg 1 of `LookForCSymbolTime'
discards qualifiers from pointer target type
TranslateSBML.c:2414: warning: passing arg 1 of `LookForCSymbolTime'
discards qualifiers from pointer target type
TranslateSBML.c: In function `GetEventAssignment':
TranslateSBML.c:2564: warning: passing arg 1 of `LookForCSymbolTime'
discards qualifiers from pointer target type
TranslateSBML.c: In function `LookForCSymbolTime':
TranslateSBML.c:2655: warning: assignment discards qualifiers from
pointer target type
mex: compile of 'TranslateSBML.c' failed.
make: *** [TranslateSBML.mexglx] Error 1
------------------------------------------------------------------------------------
Does anybody know, what to do?
Thanks a lot for your help
Andreas Dräger
--
Dipl.-Bioinform. Andreas Dräger
Eberhard Karls University Tübingen
Center for Bioinformatics (ZBIT)
Phone: +49-7071-29-70436
Fax: +49-7071-29-5091