nargout

Environment

Number of output arguments (stub). In MATLAB, nargout returns the number of output arguments. In SimLab, returns -1 as a placeholder.

Syntax

nargout()

Examples

nargout()
▶ Run

Limitations

Returns -1 (stub). Cannot inspect calling context in SimLab.

See Also

Try SimLab — Free MATLAB® Alternative

466 functions. Runs in your browser. No install.

Open SimLab

Stay Updated

Get notified about new simulations and tools. We send 1-2 emails per month.