FUNCTION REFERENCE

mustBeRow

Validate that value is a row vector.

Validate that value is a row vector.

Syntax

mustBeRow(A)

Throws an error if A is not a 1-by-n row vector.

Example

mustBeRow([1 2 3])

Differences from MATLAB: None.

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