FUNCTION REFERENCE

mustBeNumeric

Validate that value is numeric.

Validate that value is numeric.

Syntax

mustBeNumeric(A)

Throws an error if A is not a numeric array.

Example

mustBeNumeric(int32([1 2]))

Differences from MATLAB: None.

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