cellstr
Convert a character vector, s, to a cell array, R.
Syntax
R = cellstr(s)
Inputs
- s
- Type: string
Outputs
- R
- Type: cell
Examples
Default dimensions:
s = ['A'; 'B'; 'C'];
R = cellstr(s)
R =
ans =
{
[1,1] A
[2,1] B
[3,1] C
}