Scilab keyword

varargout - variable numbers of arguments in an output argument list

Description

A function whose output argument list contains varargout must be called with more output arguments than indicated in the output argument list. The calling arguments passed form varargout keyword onwards are extracted out of the varargout list defined in the function

varagout = function ex() may be called with any number of output arguments. Within function ex output arguments may be stored in in varargout(i).

Examples

See Also