Development Environment | ![]() ![]() |
Suppressing Output
If you end a line with a semicolon ( ;
), MATLAB runs the statement but does not display any output when you press the Enter or Return key. This is particularly useful when you generate large matrices. For example, typing
A = magic(100);
and then pressing Enter or Return creates A
but does not display the resulting matrix.
![]() | Clearing the Command Window | Paging of Output in the Command Window | ![]() |