replaceBlock
Replace or update control design blocks in generalized model
Syntax
Description
specifies the block names and replacement values as field names and values of the
structure Mnew
= replaceBlock(M
,blockvalues
)blockvalues
.
Examples
Input Arguments
Output Arguments
Tips
Use
replaceBlock
to perform parameter studies by sampling generalized LTI models across a grid of parameters, or to evaluate tunable models for specific values of the tunable blocks.For additional options for sampling control design blocks, including concurrent sampling, use
sampleBlock
.To take random samples of control design blocks, see
rsampleBlock
.
Version History
Introduced in R2011a
See Also
getValue
| genss
| genmat
| nblocks
| sampleBlock
| rsampleBlock