FUNCTION REFERENCE
string
Convert supported values to strings.
Convert supported values to strings.
Syntax
s = string(x)Accepts char rows/matrices, cellstr, numeric and logical values. Numbers use shortest round-trip text.
Example
string({'a','b'})Differences from MATLAB: bounded 2-D string storage (65536 elements, 2 MiB text); MAT persistence and N-D strings are not implemented.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.