| MATLAB® Builder™ EX | ![]() |
| On this page… |
|---|
Use the Rename Function dialog box to rename a function. To open this dialog box, click Rename on the Function Viewer. Here is an example of this dialog box, with mysum2 as the new function name:

In this dialog box, you can
Enter a new name for the selected function.
Click OK to save the new name and return to the Function Viewer.
Click Cancel to return to the Function Viewer without saving the new name.
Use the Copy Function dialog box to make copies of the current function. To open this dialog box, click Copy on the Function Viewer.
The Copy Function dialog box has two tabs:
The Standard tab creates a specified number of copies of the function while copying any argument/range values you have set. Here is an illustration of this dialog box, with the number of copies, set to 1:

The Advanced tab creates a rectangular array of copies of the current function in the current worksheet, and optionally copies the cell contents of ranges referenced by the function's arguments.
When you set the number of rows and columns and the row/column increments, the copy process automatically updates cell references by the specified increment amounts.
Positive increments move rows down and columns to the right.
Negative increments move rows up and columns to the left.
The following example shows the Advanced tab:

Use the Move Function dialog box to move the currently selected function to a new position in the current worksheet.
When you set the row and column increments, the move process automatically updates cell references by these values.
Positive increments move rows down and columns to the right.
Negative increments move rows up and columns to the left.
You can also optionally move the cell contents of any ranges referenced by the function.
Here is an illustration of the Move Function dialog box, set to move the location by two rows and two columns, and to move the cell contents:

![]() | Argument Properties | Function Reference | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |