Interacting with MATLAB
In this chapter we describe an effective procedure for working with MATLAB, and for preparing and presenting the results of a MATLAB session. In particular we discuss some features of the MATLAB interface and the use of M-files. We introduce a new command in MATLAB 7, publish, which produces formatted output. We also give some simple hints for debugging your M-files.
The MATLAB Interface
Starting with version 6, MATLAB has an interface called the MATLAB Desktop. Embedded inside it is the Command Window that we described in Chapter 2.