FUNCTION REFERENCE

isscalar

True for 1-by-1 arrays.

True for 1-by-1 arrays.

Syntax

isscalar(A)

Returns true if A has exactly one element.

Example

isscalar(5)   % true

Differences from MATLAB: none known.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.