This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Class: dataset

Convert dataset array to cell array

The dataset data type might be removed in a future release. To work with heterogeneous data, use the MATLAB® table data type instead. See MATLAB table documentation for more information.


C = dataset2cell(D)


C = dataset2cell(D) converts the dataset array D to a cell array C. Each variable of D becomes a column in C. If D is an M-by-N array, then C is (M+1)-by-N, with the variable names of D in the first row. If D contains observation names, then C is (M+1)-by-(N+1), with the observation names in the first column.

Was this topic helpful?