how can jump and go another line in a m-file?
古いコメントを表示
how can jump and go another line in a m-file. for example:
if a=b;
a=0;
else
(jump ***line)
end
----other commands
----other commands
.
.
.
***line
1 件のコメント
Gerrit Verboom
2021 年 3 月 28 日
Please, don't call me lazy when I want to use a kind of jump to or goto.
Regards,
Gerrit Verboom
採用された回答
その他の回答 (1 件)
Walter Roberson
2011 年 8 月 31 日
3 投票
2 件のコメント
mohammad
2011 年 8 月 31 日
Paulo Silva
2011 年 8 月 31 日
mohammad, jumping to lines of code is very lazy and does more harm than good, if you want to be a good programmer don't do it that way, learn to use functions and conditions to control the flux of your code.
カテゴリ
ヘルプ センター および File Exchange で Software Development Tools についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!