Same script in a path folder and the current folder. Which takes priority? (2024a, Ubuntu)
Show older comments
I have an .m file (class) on a folder which was added to the matlab path. On a separate folder, I have another .m file with the same class but I am making some changes and tests to it. Hence the matlab woking folder is the second one.
In windows or macosx, the priority is for the local folder. So when I try to run static methods in my class, it will run the methods from the .m file in the local folder. However, in linux (Ubuntu), the priority is given to the .m file in the matlab path and I am unable to test my newly changed script.
Is there a way to have the behavior in linux match the behavior in windows or macosx?
Thanks in advance for any assistance.
Accepted Answer
More Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!