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.
https://sbml.org/software/libsbml
Other
39 stars 28 forks source link

Can't install SBML in MATLAB 2023b #364

Open Elisshaze opened 8 months ago

Elisshaze commented 8 months ago

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.

fbergmann commented 8 months ago

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 .