KEMBAR78
Environment Matlab | PDF
0% found this document useful (0 votes)
44 views15 pages

Environment Matlab

The document describes the key windows and features of the Matlab development environment, including the Command Window, Command History Window, Workspace, Current Directory Window, and File Details Window. It explains that these windows allow users to enter commands, view command history, check defined variables, navigate directories, and view file details. Additionally, it provides guidance on using help resources and the function catalog to learn about Matlab functions.

Uploaded by

usha chidambaram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views15 pages

Environment Matlab

The document describes the key windows and features of the Matlab development environment, including the Command Window, Command History Window, Workspace, Current Directory Window, and File Details Window. It explains that these windows allow users to enter commands, view command history, check defined variables, navigate directories, and view file details. Additionally, it provides guidance on using help resources and the function catalog to learn about Matlab functions.

Uploaded by

usha chidambaram
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 15

The Matlab Development

Environment

The most important features


of the Matlab development
environement are shown in
the image below, and
described in the bullet points
that follow. Note that the
Matlab environment is highly
configurable, which means
that it may not look exactly
like this on your machine.
( You can try selecting
Desktop -> Desktop Layout -
> Default from the menubar,
but that may still not give you
this exact configuration,
depending on your particular
version. )

R2009:
Five Important
Windows

Ÿ The Command Window is


where you type in Matlab
commands. These can be
simple equations you want
evaluated, or more complex
expressions involving Matlab
scripts or functions.

Ÿ The Command History


Window shows the
commands you
have entered in the past. You
can repeat any of these
commands by double-clicking
on them, or by dragging them
from the Command History
Window into the Command
Window. You can also scroll
back to previous commnads
by using the up arrow in the
Command Window. When
you learn how to edit Matlab
script files or functions, you
can also drag commands
from the Command History
Window into a file.

Ÿ The Workspace shows the


list of variables that are
currently defined, and what
type of variable each is. ( I.e.
a simple scalar, a vector, or a
matrix, and the size of all
arrays. )
Depending on the size ( i.e.
type ) of the variable, its
value may also be shown.

Ÿ If any of the variables in the


Workspace are plottable, they
may be plotted quickly and
easily by right-clicking on the
variable name and selecting
a plot type.

Ÿ Use the control key to select


multiple variables for plotting.

Ÿ The plot types shown on the


resulting menu will depend on
the ( dimensionality of ) the
variable(s) that are selected.

Ÿ The Current Directory


Window shows the contents
of the current working
directory.

Ÿ Double click on any file to


open it in a ( text ) editor

Ÿ Right-click on Matlab scripts


and function files to execute
the commands contained
therein.

Ÿ Right-click on data file to


import the data as Matlab
variables.

Ÿ Change directories by
clicking on folders or use
the Current Working
Directory text box at the top
of the Matlab working
environment.

Ÿ The File Details


Window shows full
details of the files in the
current working directory.

Ÿ Windows may be re-arranged


according to your personal
preferences, including
dragging windows away from
the Matlab work environment.

Other Important
Features
Ÿ The Getting Started link
leads to the Matlab tutorial
system. Although it is
tempting to jump ahead to
what you are most interested
in, new users are encouraged
to go through the tutorials in
the order in which they
are presented.

Ÿ The Help menu also provides


a wide variety of useful
sources of help.

Ÿ The Function Catalog ( if


available ) provides a full list
of every Matlab function,
including installed toolboxes,
in a neatly organized manner
complete with full pop-up help
descriptions of each function.

Ÿ The menu bar and tool


bar are context-sensitive,
which means that they
change depending on which
of the five major windows is
active. ( They are also
configurable according to
your personal
preferences. )

R2015:
A few important changes
were made in version R2015:

You might also like