differences between the Command Window and a Script file
18 ビュー (過去 30 日間)
古いコメントを表示
what is the differences between the Command Window and a Script file?
0 件のコメント
回答 (1 件)
Walter Roberson
2019 年 2 月 24 日
You cannot define a function in the command window.
you cannot run() the command window.
You cannot use the graphical debugging tools well in the command window.
Error tracebacks are poor in the command window.
You cannot use mfilename in the command window .
You cannot pause execution in the command window .
In r2016b and later you can define scripts in script files .
you can run() a script
debugging is better with script files
mfilename has some uses in a script
With newer matlab releases you can use the editor interface to pause a script .
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Environment and Settings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!