User`s guide
Function Pro perties
• Req u ired arguments ap pe ar first on the left or right sides of a MATLAB
function and are not named
varargin or varargout.
•
varargin/varargout argumentsalwaysappearasthelastinputoroutput.
They let you specify a variable number of arguments.
Editing Required 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 a ppears
as shown:
4-9