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.

 采纳的回答

Jeremy Huard
Jeremy Huard 2024-1-24
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 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

社区

更多回答在  SimBiology Community

类别

在 帮助中心 和 File Exchange 中查找有关 Import Data 的更多信息

产品

版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by