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

set | See Also

set object properties

Syntax

    m=set(m,label1,value1,label2,value2,...)

Description

`m=set(m,label1,value1,label2,value2,...)` sets the value `value` of the attribute `label` associated to the object `m`. The following codes are recognised:

- `name` sets the name of the object
- `n_in` sets the number of inputs of the model. This sets the saturation level of the inputs to -Inf, Inf.
- `n_out` sets the number of outputs of the model
- `userData` sets the 'userData' field
- `opt` sets the 'opt' field
- `date` sets the date of creation of the object
- `limits` sets the limits of the mapping
- `optimparams` sets the indices of the parameters to be optimised
- `model_code` sets the type of rules associated to the taksug model
- `m` sets the fuzziness associated to the taksug model
- `centers` sets the positions of the centers of the rules associated to the taksug model
- `center` sets the positions of one center of the rules associated to the taksug model. `value` is of the form {number value}.
- `ivariances` sets the invariances of the rules associated to the taksug model
- `ivariance` sets the positions of one ivariance of the rules associated to the taksug model. `value` is of the form {number value}.
- `linears` sets the linears of associated to the taksug model
- `linear` sets the positions of one linear of the rules associated to the taksug model. `value` is of the form {number value}.
- `rls` sets the fuzzy sets associated to the taksug model
- `rl` sets one fuzzy set associated to the taksug model
- `mfs` sets the definition of the rules of the taksug model
- `mf` sets the definition of one rule of the taksug model
- `params` sets every parameters to be optimised providing a vector
- `optimselect` basically achieves the same result as `optimparams` but lets the user perform a grouped selection of the parameters (all the consequents parameters, all the centers,...), `value` is 4 bits binary number dcba. a is set for selecting the centers, b for the ivariances, c for the consequents except the offsets, d for the offsets

Remarks

General purpose function for setting the values of the fields of a taksug object. For setting the rules, use the `add_rules` and `rem_rules` function. This method extends the 'set' method defined in the mpping class.

See Also

get, add_rules, rem_rules

[ Help Desk ]