# getValue

Current value of generalized model

## Description

returns the current value `curval`

= getValue(`M`

)`curval`

of the Generalized LTI model or Generalized matrix
`M`

. The current value is obtained by replacing all control design blocks in
`M`

by their current value. For uncertain blocks, the current
value is the nominal value of the block.

uses the block values specified in the structure `curval`

= getValue(`M`

,`blockvalues`

)`blockvalues`

to
compute the current value. The field names and values of
`blockvalues`

specify the block names and corresponding
values. Blocks of `M`

not specified in
`blockvalues`

are replaced by their current values.

inherits block values from the generalized model `curval`

= getValue(`M`

,`Mref`

)`Mref`

. This
syntax is equivalent to `curval = getValue(M,Mref.Blocks)`

. Use
this syntax to evaluate the current value of `M`

using block
values computed elsewhere (for example, tuned values obtained with tuning commands
such as `systune`

, `looptune`

, or the Robust Control Toolbox™ command `hinfstruct`

(Robust Control Toolbox)).

## Examples

## Input Arguments

## Output Arguments

## Version History

**Introduced in R2011b**

## See Also

`genss`

| `replaceBlock`

| `systune`

| `looptune`

| `hinfstruct`

(Robust Control Toolbox)