MATLAB Function Reference Previous page   Next Page
cellstr

Create cell array of strings from character array

Syntax

Description

c = cellstr(S) places each row of the character array S into separate cells of c. Use the char function to convert back to a string matrix.

Examples

Given the string matrix

The following command returns a 3-by-1 cell array.

See Also

iscellstr, strings


Previous page  cellplot cgs Next page

© 1994-2005 The MathWorks, Inc.