Graphics Programs Reference
In-Depth Information
Fig. 2.1
Screenshot of the MATLAB default desktop layout including the
Current Directory
and
Workspace
panels (upper left), the
Command History
(lower left) and
Command Window
(right). This topic only uses the Command Window and the built-in
Text Editor
, which can
be called by typing
edit
after the prompt. All information provided by the other panels can
also be accessed through the Command Window.
MATLAB search path and (3) change into it to make this the current work-
ing directory. After launching MATLAB, the current working directory is
the directory in which the software is installed, for instance,
c:/MATLAB7
on a personal computer running Microsoft Windows and
/Applications/
MATLAB7
on an Apple computer running Macintosh OS X. On the UNIX-
based SUN Solaris operating system and on a LINUX system, the current
working directory is the directory from which MATLAB has been launched.
The current working directory can be printed by typing
pwd
after the prompt. Since you may have read-only permissions in this direc-
tory in a multi-user environment, you should change into your own home
directory by typing
cd 'c:\Documents and Settings\username\My Documents'