Cannot install libSBML in MATLAB

6 visualizzazioni (ultimi 30 giorni)
Elisa
Elisa il 24 Gen 2024
Commentato: Elisa il 25 Gen 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.

Risposta accettata

Jeremy Huard
Jeremy Huard il 24 Gen 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 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

Categorie

Scopri di più su QSP, PKPD, and Systems Biology in Help Center e File Exchange

Prodotti


Release

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by