Documentation

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.

VarNames property

Class: dataset

Cell array giving names of variables in data set

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.

Description

A cell array of nonempty, distinct character vectors giving the names of the variables in the data set. The number of character vectors must equal the number of variables. The default is the cell array of names for the variables used to create the data set.

Was this topic helpful?