Installation guide

Viewing and Editing Workspace Variables with the Array Editor
Insert and Delet
eintheArrayEditor
Yo u can insert an
d delete elements, rows, and columns in the Array Editor.
When you select E
dit > Insert,orEdit > Delete, a dialog box appears in
which you specif
y cells, rows, or columns, and for cells, the direction for
shifting.
Undo and Redo in
the Array Editor
You can undo the
last action you perform ed in the Array Editor, or redo a
change after ch
oosing undo. Select Edit > Undo or Edit > Redo.Theactions
supported are a
change to a v alue you make by editing it in the A rray Editor,
cutting, past
ing, inserti ng, deleti n g, clearing contents, and pasti ng Excel data.
Exchanging Da
ta with the Command Window
Yo u can copy da
ta from the Array E ditor a nd paste it into the Command
Window. You ca
n also copy a value from the Command Window and paste it
into an eleme
nt in the Array Editor. Be sure the data types are compatible.
For example,
you cannot paste text from the Command Window into a
numeric arr
ay in the Array Editor.
Exchanging
Data with Excel
You can cut o
r copy cells from Microsoft Excel and paste them into the Array
Editor—use
Edit > Paste from Excel. You can also cut or copy elements
from the Arr
ay Editor and paste them into Excel.
Be sure the d
ata types are compatible. For example, you cannot paste text
from Excel
into a numeric array in the Array Editor.
Creating G
raphs and Va riables from the Current
Selection
Yo u can cre
ate graphs and new variables from the Array Editor. To create a
graph, se
lect a cell, row, or column, and in the right-click context m enu, choose
the graph
type. MATLAB presents allowable o ptions for the selected data. In
some case
s, MATLAB makes assumptions, such as using
cell2mat to convert
selected
cell array data, which cannot be plotted directly.
5-21