Cannot install libSBML in MATLAB

16 Ansichten (letzte 30 Tage)
Elisa
Elisa am 24 Jan. 2024
Kommentiert: Elisa am 25 Jan. 2024
I am having troubles installing libSBML, which I need to use GenSSI for parameter identifiability in Simbiology. I am following the instructions in this documentation, but I cannot use SBML in either case: when I add 'manually' the folder to the path and try to run the command `TranslateSBML('test.xml')`, the following error pops up:
Execution of script TranslateSBML as a function is not supported:
C:\Users\elisa\libsbml\src\bindings\matlab\TranslateSBML.m
And if I try to run installSBML.m, the following error occurs:
Error using installSBML
Executables were not found.Please make sure they are in the same directory as the installSBML and other scripts.
I opened an issue on github, but haven't received an answer yet.

Akzeptierte Antwort

Jeremy Huard
Jeremy Huard am 24 Jan. 2024
Hi @Elisa,
did you download the binaries or just the src files?
You need to download the archive libsbml-x.xx.x-matlab.binaries.zip (or tar.gz) to get the associated mex files.
Please note that this will allow GenSSI to support SBML files. But GenSSI runs independently of SimBiology.
Best regards,
Jérémy
  1 Kommentar
Elisa
Elisa am 25 Jan. 2024
Thank you, since there was a folder "bindings/MATLAB" I figured I would not need to download also that archive, but apparently in the cloned github version there weren't the executables! I was able to add libSBML to the path and make it work.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Communitys

Weitere Antworten in  SimBiology Community

Kategorien

Mehr zu Scan Parameter Ranges finden Sie in Help Center und File Exchange

Produkte


Version

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by