Undefined function or variable 'case1' each time I start Matab and run the file
1 回表示 (過去 30 日間)
古いコメントを表示
I have to "set path" my files in C:\Users\..\Documents\MATLAB each time I start Matlab and run it. After setting the path, the file can be run but once I close Matlab and restart it, I have to reset the path again. Any help would be appreciated. Thanks
0 件のコメント
回答 (1 件)
Adam
2016 年 12 月 7 日
編集済み: Adam
2016 年 12 月 7 日
In the 'Set Path' dialog from the top ribbon there is a 'Save' option which should save for future sessions. I don't really understand what your question body has to do with your question title, but certainly for a persistent path across sessions you just need to save it.
savepath
will also do this programmatically.
5 件のコメント
参考
カテゴリ
Help Center および File Exchange で Search Path についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!