| Simulink Reference | ![]() |
Implement a discrete state-space system
Library
Description
The Discrete State-Space block implements the system described by

where u is the input, x is the state, and y is the output. The matrix coefficients must have these characteristics, as illustrated in the following diagram:
The block accepts one input and generates one output. The input vector width is determined by the number of columns in the B and D matrices. The output vector width is determined by the number of rows in the C and D matrices.
Simulink converts a matrix containing zeros to a sparse matrix for efficient multiplication.
Data Type Support
The Discrete State Space block accepts and outputs a real signal of type double.
Parameters and Dialog Box
0. Simulink does not allow the initial states of this block to be inf or NaN.
The State properties pane of this block pertains to code generation and has no effect on model simulation. See "Block States: Storing and Interfacing" in the Real-Time Workshop documentation for more information.
Characteristics
| Discrete Filter | Discrete-Time Integrator | ![]() |
© 1994-2005 The MathWorks, Inc.