Same script in a path folder and the current folder. Which takes priority? (2024a, Ubuntu)
显示 更早的评论
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.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!