MATLAB Function Reference | Search  Help Desk |
get | See Also |
gets the value of the attribute of an object
Syntax
d = get(m,label,opt)
Description
d = get(m,label,opt)
gets the value of the attribute label
associated to the object m
and return it inside d
.
The following codes are recognised:
name
returns the name of the object
n_in
returns the number of inputs of the system
n_out
returns the number of outputs of the system
data
returns the data set linked to the system
T
returns the sampling period of the discrete system, 0 if continuous
mapping
returns the array of mappings
links
returns the links array which defines which output is computed by which mapping
limits
returns the bounds of the inputs and outputs
userData
returns the 'userData' field
opt
returns the 'opt' field
date
returns the date of creation of the object
mapfield
let the user access directly property of the mappings. When used, opt
must contain a 2 elements cell array {n
'property'}. n
is the index of the
mapping and 'property' is the name of the property which has to be accessed. An even more convenient
way to access mappings' fields is a achieved through the syntax s{n}.property. In both syntax,
if n
is negative, the abs(n)
mapping describing the state is accessed.
numparams
returns the number of parameters to be optimised
params
returns the parameters to be optimised
n_state
returns the number of states
state
returns the state vector of the system
statemapping
returns the mappings used to describe the state
statelinks
returns the links array which defines which state is computed using which statemapping
statelimits
returns the bounds of the states
statemapfield
let the user access directly property of the statemappings. When used, opt
must contain a 2 elements cell array {n
'property'}. n
is the index of the
mapping and 'property' is the name of the property which has to be accessed.
set