Is it possible to make inactive some of lines?
4 ビュー (過去 30 日間)
古いコメントを表示
Assume that
A = [a*b;... %line 1
a*b^2;... %line 2
a*b^3;... %line 3
]
Is it possible to generate a command to make inactive any line, for ex. line 2 like:
A = [a*b;... %line 1
%a*b^2;... %line 2
a*b^3;... %line 3
]
Thanks,
2 件のコメント
回答 (1 件)
Bruno Luong
2021 年 7 月 8 日
Put "..." (without the quotes) in front of the lines you want to hide
3 件のコメント
Bruno Luong
2021 年 7 月 8 日
Please explain of adding/removing "..." to hide/disable the lines is not suitaable for your need.
Bruno Luong
2021 年 7 月 8 日
Just to be sure you understand what I wrote
A = [a*b;... %line 1
... a*b^2; ... %line 2
a*b^3;... %line 3
]
参考
カテゴリ
Help Center および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!