User`s guide
R2012b
6-8
Run configuration entries appear similar to this example:
%% @name foo
% @associatedFile C:\Documents\MATLAB\work\foo.m
% @mostRecentlyActioned true
% @uniqueId 695644b0:1355f0bb372:-7fb0
% Modify expression to add input arguments.
% Example:
% a = [1 2 3; 4 5 6];
% foo(a);
foo(1,2)
2
Copy the MATLAB command in the run configuration. In the example configuration,
the command is foo(1,2).
3
Open the MATLAB file associated with the run configuration that you want to keep.
In the example configuration, the file is C:\Documents\MATLAB\work\foo.m.
4
Click and then the field containing type code to run.
5
Paste the MATLAB command.
If the MATLAB expression spans multiple lines, create a script, and copy and paste the
code into the script. You can then run the script directly using .
Multiple vector creation from single selection in Variables editor
The Variables editor now allows you to create one or more new row or column vectors
from a single selection within an existing variable. The names of the new variables are
based on the name of the existing variable. Previously, the Variables editor could only
create a new array from a single selection, and new variables were called unnamed,
unnamed1, …, unnamedN.