PS State-Space
R2026bLibraries:
Simscape /
Foundation Library /
Physical Signals /
Linear Operators
Description
The PS State-Space block implements a state-space representation of the linear time-invariant system, defined by equations:
where:
x is the dimensionless state vector.
u is the input vector.
y is the output vector.
E is the descriptor matrix.
A is the state matrix.
B is the input matrix.
C is the output matrix.
D is the feedthrough, or direct transmission matrix.
The state-space model provides a compact and efficient way to represent and analyze systems with multiple inputs and outputs. This model is particularly useful for control design and simulation of dynamic systems.
You can define matrices in your workspace and then use these workspace variables as block parameters.
Examples
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"fl_lib/Physical Signals/Linear Operators/PS State-Space"
Example: add_block("fl_lib/Physical Signals/Linear Operators/PS State-Space","myModel/myBlock",MakeNameUnique="on")
For information about programmatic access to individual block parameters, see the Programmatic Use section of parameter descriptions on this page.
Extended Capabilities
Version History
Introduced in R2025a

