Model properties are the data fields that store all information about a dynamic system model. Data stored in model properties includes model dynamics, such as transfer-function coefficients, state-space matrices, and time delays. Access these properties to extract or change data about model dynamics. You can also specify metadata about the model such as input and output names or units.
Access Dynamical Data
|Access transfer function data|
|Access zero-pole-gain data|
|Access state-space model data|
|Access data for frequency response data (FRD) object|
|Access coefficients of parallel-form PID controller|
|Access coefficients of standard-form PID controller|
|Access coefficients of parallel-form 2-DOF PID controller|
|Access coefficients of standard-form 2-DOF PID controller|
|Extract descriptor state-space data|
Change Model Units
Query Model Characteristics
|Determine if dynamic system model is in continuous time|
|Determine if dynamic system model is in discrete time|
|Determine whether dynamic system model is empty|
|Determine if model has finite coefficients|
|Determine if model has tunable parameters|
|Determine if dynamic system model is proper|
|Determine if model has real-valued coefficients|
|Determine if dynamic system model is single-input/single-output (SISO)|
|Determine if dynamic system model is stable|
|Determine if model is static or dynamic|
|Query model order|
|Query number of dimensions of dynamic system model or model array|
|Query output/input/array dimensions of input–output model and number of frequencies of FRD model|
|Compute operating condition from specifications (Since R2023b)|
- Accessing and Modifying the Model Data
This example shows how to access or edit parameter values and metadata in LTI objects.
- Store and Retrieve Model Data
Extract and change model properties such as model dynamics, sample time, and channel names.
- Extract Model Coefficients
Extract model coefficients such as transfer function numerator and denominator coefficients, state-space matrices, and PID gains.
- Attach Metadata to Models
Specify additional model properties such as time units, input and output names, and input and output groups.
- Query Model Characteristics
Query dynamic-system model characteristics such as stability, time domain, and number of inputs and outputs.
- Customize Model Display
Configure how transfer functions are displayed in the MATLAB® command window.