Set parameters of rtP
model parameter
structure
takes
an rtP
= rsimsetrtpparam(rtP
,'paramName
',paramValue
)rtP
structure with tunable parameter information
and sets the values associated with 'paramName'
to
be paramValue
if possible. There can be more than
one name-value pair.
takes
an rtP
= rsimsetrtpparam(rtP
,idx
,'paramName
',paramValue
)rtP
structure with tunable parameter information
and sets the values associated with 'paramName'
to
be paramValue
in the nth idx
parameter
set. There can be more than one name-value pair. If the rtP
structure
does not have idx
parameter sets, the first set
is copied and appended until there are idx
parameter
sets. Subsequently, the nth idx
set is changed.
Expand the number of parameter sets in the rtp
structure
to 10.
rtp = rsimsetrtpparam(rtp,10);
Add three parameter sets to the parameter structure rtp
.
rtp = rsimsetrtpparam(rtp,idx,'X1',iX1,'X2',iX2,'Num',iNum);