getBlockValue
Get current value of Control Design Block in Generalized Model
Syntax
Description
gets the current value of the Control Design
Block
val = getBlockValue(M,blockname)blockname in the Generalized Model
M. For uncertain blocks, the current value is the nominal value
of the block.
gets the values of all Control Design Blocks of the generalized model, and returns
them in a structure. This syntax enables you to transfer the block values from one
generalized model to another model that uses the same Control Design Blocks. For
example, this code transfers the values S = getBlockValue(M)S of model
M1 to model
M2.
S = getBlockValue(M1); setBlockValue(M2,S);
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2011b