Overview variables at the beginning

1 回表示 (過去 30 日間)
gamer
gamer 2021 年 6 月 19 日
回答済み: Walter Roberson 2021 年 6 月 19 日
Hello community,
I have written a skript and have some variables which I want to change sometimes.
Is it possible to create a overview of these variables at the beginning? So for example:
At the beginning is written: variable v is in line 180. And then I click there to get to line 180.
Thank you!

採用された回答

Walter Roberson
Walter Roberson 2021 年 6 月 19 日
https://www.mathworks.com/help/matlab/matlab_prog/format-live-scripts.html shows you how you can use the LiveScript editor to insert a hyperlink to a location In your document. At the moment it looks to me as if it might need to be a section, but you could experiment with that.
In https://www.mathworks.com/matlabcentral/answers/525877-link-to-section-in-another-live-script#answer_432787 I show how to cheat a little to be able to create hyperlinks into other files.
Unfortunately, .m files do not permit you to insert hyperlinks in the code. However, oddly enough you can emit hyperlinks to the command window and those hyperlinks can use the techniques I posted in the above link in order to open a particular location in a file.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by