ssinfo (MathScript RT Module Function)
- Updated2023-03-14
- 1 minute(s) read
ssinfo (MathScript RT Module Function)
Owning Class: info
Requires: Control Design and Simulation Module and MathScript RT Module
Syntax
A = ssinfo(SysInSS)
[A, B] = ssinfo(SysInSS)
[A, B, C] = ssinfo(SysInSS)
[A, B, C, D] = ssinfo(SysInSS)
[A, B, C, D, Ts] = ssinfo(SysInSS)
Legacy Name: ssdata
Description
Returns information about a state-space system model.
Inputs
| Name | Description |
|---|---|
| SysInSS | Specifies a linear time-invariant (LTI) model in state-space form. |
Outputs
| Name | Description |
|---|---|
| A | Returns the n x n state matrix of the SysInSS model, where n is the number of states. A is a real matrix. |
| B | Returns the n x m input matrix of the SysInSS model, where m is the number of inputs. B is a real matrix. |
| C | Returns the r x n output matrix of the SysInSS model, where r is the number of outputs. C is a real matrix. |
| D | Returns the r x m direct transmission matrix of the SysInSS model. D is a real matrix. |
| Ts | Returns the sampling time of the SysInSS model. If the value of Ts is 0, the SysInSS model is continuous. Otherwise, the model is discrete. Ts is a real scalar. |
Details
The following table lists the support characteristics of this function.
| Supported in the LabVIEW Run-Time Engine | Yes |
| Supported on RT targets | Yes |
| Suitable for bounded execution times on RT | Not characterized |
Examples
A = [1, 1; -1, 2]
B = [1, 2]'
C = [2, 1]
D = 0
SysInSS = ss(A, B, C, D)
[A, B, C, D, Ts] = ssinfo(SysInSS)