FUNCTION REFERENCE

mustBeNonempty

Validate that value is not empty.

Validate that value is not empty.

Syntax

mustBeNonempty(A)

Throws an error if A is empty.

Example

mustBeNonempty([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.