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

set | See Also

Set object properties

Syntax

    set(d,'AttrName1',AttrValue1,'AttrName2',AttrValue2,...)

    m_out = set(d,'AttrName1',AttrValue1,'AttrName2',AttrValue2,...)

Description

`set(d,'AttrName1',AttrValue1,'AttrName2',AttrValue2,...)` sets the value of the attribute `AttrName1`, `AttrName2`, ... associated to the object `d`.

`m_out = set(d,'AttrName1',AttrValue1,'AttrName2',AttrValue2,...)` sets the value of the attribute `AttrName1`, `AttrName2`, ... associated to the object `d` and return the modified model inside m_out. The original model is not modified. The following `AttrName` are recognised:

- `contdata` the continuous data
- `symbdata` the symbolic data
- `classes` the classes
- `labels` the labesl of the data points
- `vartypes` the types of the variables

See Also

get

[ Help Desk ]