Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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 = tunablePID('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

Tips

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

  • 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.

Introduced in R2011b

Was this topic helpful?