This example explains therules that determine the type of model that results when you interconnect models of different types.
When you combine numeric LTI models other than
connect, the resulting model is a state-space
ss) model. For other interconnection commands,
the resulting model is determined by the following order of precedence:
For example, connect an
ss model with a
P = ss([-0.8,0.4;0.4,-1.0],[-3.0;1.4],[0.3,0],0); C = pid(-0.13,-0.61); CL = feedback(P*C,1)
ss model has the highest precedence
among Numeric LTI models. Therefore, combining
any model interconnection command returns an
For example, connect the
a Control Design Block.
F = ltiblock.tf('F',0,1); CLF = F*CL
CLF is a
Any connection that includes a frequency-response model (
results in a frequency-response model.
Note: The software automatically converts all models to the resulting model type before performing the connection operation.