# pidstddata2

Access coefficients of standard-form 2-DOF PID controller

## Syntax

## Description

`[`

returns the proportional
gain `Kp`

,`Ti`

,`Td`

,`N`

,`b`

,`c`

]
= pidstddata2(`sys`

)`Kp`

, integral time `Ti`

,
derivative time `Td`

, the filter divisor `N`

,
and the setpoint weights `b`

and `c`

of
the standard-form 2-DOF PID controller represented by the dynamic
system `sys`

.

If `sys`

is a `pidstd2`

controller
object, then each output argument is the corresponding coefficient
in `sys`

.

If `sys`

is not a `pidstd2`

object,
then each output argument is the corresponding coefficient of the
standard-form 2-DOF PID controller that is equivalent to `sys`

.

If `sys`

is an array of dynamic systems,
then each output argument is an array of the same dimensions as `sys`

.

`[`

also returns the
sample time `Kp`

,`Ti`

,`Td`

,`N`

,`b`

,`c`

,`Ts`

]
= pidstddata2(`sys`

)`Ts`

. For discrete-time `sys`

that
is not a `pidstd2`

object, `pidstddata2`

calculates
the coefficient values using the default `ForwardEuler`

discrete
integrator formula for both `IFormula`

and `DFormula`

.
See the `pidstd2`

reference
page for more information about discrete integrator formulas.

## Examples

## Input Arguments

## Output Arguments

## Version History

**Introduced in R2015b**