Page 26 - A Guide to MATLAB for Beginners and Experienced Users
P. 26
Ending a Session 7
also call them graphics windows. In Chapter 5, we will teach you how to gen-
erate and manipulate MATLAB graphics windows most effectively.
See Figure 2-1 in Chapter 2 for a simple example of a graphics window.
➱ Graphics windows cannot be embedded into the MATLAB Desktop.
Ending a Session
The simplest way to conclude a MATLAB session is to type quit at the prompt.
You can also click on the special symbol that closes your windows (usually an ×
in the upper left- or right-hand corner). Either of these may or may not close all
the other MATLAB windows (which we talked about in the last section) that
are open. You may have to close them separately. Indeed, it is our experience
that leaving MATLAB-generated windows around after closing the MATLAB
Desktop may be hazardous to your operating system. Still another way to exit
is to use the Exit MATLAB option from the File menu of the Desktop. Before
you exit MATLAB, you should be sure to save any variables, print any graphics
or other files you need, and in general clean up after yourself. Some strategies
for doing so are addressed in Chapter 3.