Getting Started Previous page   Next Page

Suppressing Output

If you simply type a statement and press Return or Enter, MATLAB automatically displays the results on screen. However, if you end the line with a semicolon, MATLAB performs the computation but does not display any output. This is particularly useful when you generate large matrices. For example,


Previous page  Controlling Command Window Input and Output Entering Long Statements Next page

© 1994-2005 The MathWorks, Inc.