O'Reilly logo

A Guide to MATLAB, Second Edition by Jonathan M. Rosenberg, Brian R. Hunt, Ronald L. Lipsman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3

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.

The Desktop

By default, the MATLAB Desktop (Figure 1.1 in Chapter 1) contains four windows inside it, the Command Window on the right, the Current Directory Browser and the Workspace ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required