Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

State-Space - Implement linear state-space system

Library

Continuous

Description

The State-Space block implements a system whose behavior you define as

where x is the state vector, u is the input vector, and y is the output vector. The matrix coefficients must have these characteristics:

The block accepts one input and generates one output. The input vector width depends on the number of columns in the B and D matrices. The output vector width depends on the number of rows in the C and D matrices.

Simulink software converts a matrix containing zeros to a sparse matrix for efficient multiplication.

Data Type Support

A State-Space block accepts and outputs real signals of type double.

Parameters and Dialog Box

A

Specify the n-by-n matrix coefficient, where n is the number of states.

Settings

Default: 1

Command-Line Information

See Block-Specific Parameters for the command-line information.

B

Specify the n-by-m matrix coefficient, where n is the number of states and m is the number of inputs.

Settings

Default: 1

Command-Line Information

See Block-Specific Parameters for the command-line information.

C

Specify the r-by-n matrix coefficient, where r is the number of outputs and n is the number of states.

Settings

Default: 1

Command-Line Information

See Block-Specific Parameters for the command-line information.

D

Specify the r-by-m matrix coefficient, where r is the number of outputs and m is the number of inputs.

Settings

Default: 1

Command-Line Information

See Block-Specific Parameters for the command-line information.

Initial conditions

Specify the initial state vector.

Settings

Default: 0

The initial conditions of this block cannot be inf or NaN.

Command-Line Information

See Block-Specific Parameters for the command-line information.

Absolute tolerance

Specify the absolute tolerance for computing the block output.

Settings

Default: auto

Command-Line Information

See Block-Specific Parameters for the command-line information.

State Name (e.g., 'position')

Assign a unique name to each state.

Settings

Default: ' '

If this field is blank, no name assignment occurs.

Tips

Command-Line Information

See Block-Specific Parameters for the command-line information.

Characteristics

Direct Feedthrough

Only if D ≠ 0

Sample Time

Continuous

Scalar Expansion

Yes, of the initial conditions

States

Depends on the size of A

Dimensionalized

Yes

Zero-Crossing Detection

No

See Also

Discrete State-Space

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS