Cannot install libSBML in MATLAB

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.

 Risposta accettata

Jeremy Huard
Jeremy Huard il 24 Gen 2024

0 voti

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 Commento

Elisa
Elisa il 25 Gen 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.

Accedi per commentare.

Più risposte (0)

Community

Più risposte nel  SimBiology Community

Prodotti

Release

R2023b

Richiesto:

il 24 Gen 2024

Commentato:

il 25 Gen 2024

Community Treasure Hunt

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

Start Hunting!

Translated by