cellstr
(Not Recommended) Create cell array of character vectors from dataset array
The dataset
data type is not recommended. To work with heterogeneous data,
use the MATLAB®
table
data type instead. See MATLAB
table
documentation for more information.
Syntax
B = cellstr(A)
B = cellstr(A,VARS)
Description
B = cellstr(A)
returns the contents of the
dataset A
, converted to a cell array of
character vectors. The variables in the dataset must support the
conversion and must have compatible sizes.
B = cellstr(A,VARS)
returns the contents of the
dataset variables specified by VARS
.
VARS
is a positive integer, a
vector of positive integers, a character vector, a string array,
a cell array of character vectors, or a logical vector.