State feedback#

u = −K x + N r. Wire an lqr or place block’s K into the K input, or type K. N empty: the identity.

state_feedback · control

Inputs#

Port

Type

Unit

Components

x

numbers

—

—

r

numbers

—

—

K

text

—

—

Outputs#

Port

Type

Unit

Components

u

numbers

—

—

Parameters#

Param

Type

Default

Options or unit

K

text

"1"

—

N

text

—

—