FUNCTION REFERENCE
mustBeNonzeroLengthText
Validate that value is text with nonzero length.
Validate that value is text with nonzero length.
Syntax
mustBeNonzeroLengthText(A)Throws an error if A is not text or contains any zero-length text element.
Example
mustBeNonzeroLengthText("abc")Differences from MATLAB: None.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.