convertStringsToChars
Convert string arrays to a character arrays, where applicable.
B = convertStringsToChars (A)
converts A to a
character vector, if A is a string scalar, or to a cell array of
character vectors, if A is a string array. Otherwise, A is
returned unaltered.
[B1, …, Bn] = convertStringsToChars (A1,
…, An)
converts any of the input arguments that are of string
type to character vectors or to cell array of character vectors, or leaves
them unaltered.
See also: convertCharsToStrings, string
Source Code: convertStringsToChars