Cannot install libSBML in MATLAB

6 views (last 30 days)
Elisa
Elisa on 24 Jan 2024
Commented: Elisa on 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.

Accepted Answer

Jeremy Huard
Jeremy Huard on 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 Comment
Elisa
Elisa on 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.

Sign in to comment.

More Answers (0)

Communities

More Answers in the  SimBiology Community

Categories

Find more on QSP, PKPD, and Systems Biology in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!