I'm having a problem with a code in matlab and I don't know what to do.
When I open my .mat file directly (by double-clicking) I can run it normally. When I open matlab and go to your directory it doesn't work.
The code in question calls a program in JAVA. This program has several dependency files that are located in the same directory as your .jar.
As I understand it, when I open matlab and then run the script through the directory, for some reason, .jar does not have access to its dependencies, even though those dependencies are inside the path when I check with "exist ('filename') ".
What do you think it can be?