adding folder to the path option
1 次查看(过去 30 天)
显示 更早的评论
I added a new folder to the path option. In this folder I created an m file. The command window cannot find the file. What have I overlooked?
0 个评论
回答(2 个)
Akiva Gordon
2012-11-9
Adding a folder to the MATLAB path adds it only for the current MATLAB session. In order to save this path for a future MATLAB session, be sure to choose "Save" after adding the folder. Is it possible that you have closed MATLAB without saving that path?
0 个评论
Karlene Hoo
2012-11-9
1 个评论
Akiva Gordon
2012-11-10
What was the name of the file that you saved, and how are you calling it in the Command Window?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!