FUNCTION REFERENCE
mustBeTextScalar
Validate that value is a single piece of text.
Validate that value is a single piece of text.
Syntax
mustBeTextScalar(A)Throws an error if A is not a character vector or a scalar string.
Example
mustBeTextScalar("hello")Differences from MATLAB: None.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.