Documentation Center

  • Trial Software
  • Product Updates

showBlockValue

Display current value of Control Design Blocks in Generalized Model

Syntax

showBlockValue(M)

Description

showBlockValue(M) displays the current values of all Control Design Blocks in the Generalized Model, M. (For uncertain blocks, the "current value" is the nominal value of the block.)

Input Arguments

M

Generalized Model.

Examples

Create a tunable genss model, and display the current value of its tunable elements.

G = zpk([],[-1,-1],1);
C = ltiblock.pid('C','PID');
a = realp('a',10);  
F = tf(a,[1 a]);
T = feedback(G*C,1)*F;

showBlockValue(T)
C =
Continuous-time I-only controller:
 
      1 
Ki * ---
      s 
 
With Ki = 0.001
 
-----------------------------------
a = 10

More About

expand all

Tips

  • Displaying the current values of a model is useful, for example, after you have tuned the free parameters of the model using a Robust Control Toolbox™ tuning command such as looptune.

  • showBlockValue displays the current values of all Control Design Blocks in a model, including tunable, uncertain, and switch blocks. To display the current values of only the tunable blocks, use showTunable.

See Also

| | |

Was this topic helpful?