Update Path Externally
1 回表示 (過去 30 日間)
古いコメントを表示
Is there a way to add a folder to the Matlab Path without opening Matlab? E.g. if I want to create an installer for a new toolbox so that the user does not have to manually modify the path. Thanks in advance, Cesare
0 件のコメント
回答 (3 件)
Kaustubha Govind
2011 年 4 月 21 日
If you don't mind MATLAB performing this operation silently, you could use the following system command (MATLAB must be on path):
matlab -nodisplay -nosplash -r "addpath('/path/to/add'); savepath; quit;"
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!