nargin

Environment

Number of input arguments (stub). In MATLAB, nargin returns the number of input arguments the current function was called with. In SimLab, returns -1 as a placeholder.

Syntax

nargin()

Examples

nargin()
▶ 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.