User`s guide
Introduction
5-7
Editing Function Arguments. Function arguments may be either required
arguments or
varargin/varargout arguments:
• Required arguments appear first on the left or right sides of a MATLAB
function and are not named
varargin or varargout.
•
varargin/varargout arguments always appear as the last input or output.
They allow you to specify a variable number of arguments.
To edit required arguments, select the argument in the list and click the
Properties button.
Before you can edit
varargin/varargout arguments, you must first explicitly
add them using the
Add button. If the MATLAB function does not have
varargin/varargout arguments, the ability to add arguments to the list is
disabled. Once you have added
varargin/varargout arguments, you can edit
them in the same way as required arguments.