differences between the Command Window and a Script file

조회 수: 18 (최근 30일)
xinxiu xu
xinxiu xu 2019년 2월 24일
답변: Walter Roberson 2019년 2월 24일
what is the differences between the Command Window and a Script file?

답변 (1개)

Walter Roberson
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 .

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by