Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB Builder EX   

Function Properties

Function Properties Dialog Box

This group of dialog boxes sets properties and values for the inputs and outputs. You can map inputs and outputs to ranges in your worksheet. You can also rename a function with any of these dialog boxes.

When you click Edit on the Function Viewer, the Function Properties dialog box appears, as shown.

The Add and Delete buttons become active when you click varargin Arguments.

Click the Outputs tab to switch to editing outputs.

Editing Function Arguments

Function arguments may be either required arguments or varargin/varargout arguments:

Editing Required and Varargin/Varargout Arguments

To edit required arguments, select the argument from the list and click Properties.

Before you can edit varargin/varargout arguments, you must first explicitly add them using Add. If the MATLAB function does not have varargin/varargout arguments, the ability to add arguments to the list is disabled. After you have added varargin/varargout arguments, you can edit them in the same way as required arguments. When you are editing varargin/varargout arguments, the Function Properties dialog box appears as shown:

Editing Required Outputs

When you are editing required output arguments, the Function Properties dialog box appears as shown:

The Add and Delete buttons become active when you click varargout Arguments.

Click the Inputs tab to switch to editing inputs.

Editing varargout Outputs

When you are editing varargout outputs, the Function Properties dialog box appears as shown:

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS