sbmlteam / libsbml

LibSBML is a native library for reading, writing and manipulating files and data streams containing the Systems Biology Markup Language (SBML). It offers language bindings for C, C++, C#, Java, JavaScript, MATLAB, Perl, PHP, Python, R and Ruby.

Home Page:https://sbml.org/software/libsbml

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't install SBML in MATLAB 2023b

Elisshaze opened this issue · comments

I need libsbml to use GenSSI GenSSI, but I cannot install SBML in MATLAB. I am fllowing 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, 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'm afraid we will need more information. Which version of Matlab did you use? Also using installSBML is not necessary, all you should need to do is to extract the file with the Matlab binaries and add it to the path. Once that is done it would be interesting to see the output of TranslateSBML .