Create string array
creates
a string array from the input array. For more information on string
arrays, see Characters and Strings.str = string(A)
If A is a character vector, then string converts A to
a string scalar. str and A have
the same characters in the same order.
If A is a cell array, then string converts
each element in A into a string element in str.
If A is a numeric array, then string converts
each number to a string element in str.
Unlike the char function, string does
not treat numbers as ASCII or Unicode® code points.
If A is a logical array, then string converts
each value to either "false" or "true".
If A is [],
then string returns a 0-by-0 string
array.
calendarDuration | categorical | cellstr | char | datetime | double | duration | iscellstr | ischar | isstring | isstrprop | strings | strlength