hyperlink from one *.m file to another *.m file
5 ビュー (過去 30 日間)
古いコメントを表示
I have 5 matlab code files and I want to go to 2nd file *.m after I run 1st *.m file. So, is it possible to jump from one matlab code to another by putting a hyperlink at the end of 1st file?
0 件のコメント
採用された回答
Walter Roberson
2018 年 4 月 13 日
No, hyperlinks are not supported.
However, you can just put the name of the second script at the end of the first script.
script1.m
plot(1:10, rand(1,10));
script2
script2.m
disp('got to script 2')
3 件のコメント
Stephen23
2018 年 4 月 13 日
@Megha: use absolute/relative paths rather than cd. cd is slow, makes debugging harder, and can cause different functions to be accessible to MATLAB.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Loops and Conditional Statements についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!