MATLAB Function Reference | Go to function: | Search Help Desk

get | See Also

Access/query dataset property values

Syntax

    d=get(data,label)

Description

`d=get(data,label)` returns the value of the specified property `label` of the data set `d`. Possibles properties are:

- `nv` the number of variables
- `ns` the number of examples
- `nc` the number of classes
- `contdata` the continuous data
- `symbdata` the symbolic data
- `classes` the classes
- `classeslist` the list of classes
- `data` the data attribute
- `symbols` the symbols attribute
- `vartypes` the vartypes attribute
- `labels` the labels attribute
- `variables` the labels attribute

See Also

set

[ Help Desk ]