Geoscience Reference
In-Depth Information
in the operating system prompt. h e sot ware then comes up with several
window panels (Fig. 2.1). h e default desktop layout includes the
Current
Folder
panel that lists the i les in the directory currently being used. h e
Command Window
presents the interface between the sot ware and the
user, i.e., it accepts MATLAB commands typed at er the prompt,
>>
. h e
Workspace
panel lists the variables in the MATLAB workspace, which is
empty when starting a new sot ware session. In this topic we mainly use
the Command Window and the built-in
Editor
, which can be launched by
typing
edit
By default, the sot ware stores all of your MATLAB-related i les in the
startup folder named
MATLAB
. Alternatively, you can create a personal
working directory in which to store your MATLAB-related i les. You should
then make this new directory the working directory using the
Current
Folder
panel or the
Folder Browser
at the top of the MATLAB desktop.
h e sot ware uses a
Search Path
to i nd MATLAB-related i les, which are
Fig. 2.1
Screenshot of the MATLAB default desktop layout including the
Current Folder
(let
in the i gure), the
Command Window
(center), the
Workspace
(right) panels. h is topic uses
only the Command Window and the built-in
Editor
, which can be called up by typing
edit
at er the prompt. All information provided by the other panels can also be accessed through
the Command Window.