G-Node / matlab-odml

odml support for matlab
www.g-node.org/odml
Other
1 stars 2 forks source link

Java library error #3

Open Tanderadei opened 6 years ago

Tanderadei commented 6 years ago

Running the provided odml_example scripts throws the following error: "Could not open file at specified url: [...] Verify connection! [...] (Das System kann die angegebene Datei nicht finden)"

I followed the steps from the documentation and tried to run the script on several computesr and Matlab versions but the problem remains!

achilleas-k commented 6 years ago

Hello Tanderadei.

Unfortunately, this library hasn't been worked on for a long time and is very outdated.

If you are looking to work with odML files, might I suggest you have a look at the Python library, which is the primary implementation of the format and libraries? You can find the sources here: https://github.com/G-Node/python-odml

jgrewe commented 6 years ago

This is actually a funny issue. Problem is that the script creates an example file and stores it in the current working directory (as it is expected to do). Later, upon re-opening the file, Matlab tries to locate it in the default (..../MATLAB folder) instead of the current working directory (as it should). I do not yet understand why it. As a quick fix, move into your personal MATLAB folder and, after adding the matlab-odml folder to the search path (using the set path tool in the Matlab Home tab), execute the example. Works fine on my computer.