Retain Unconnected States in Model Interconnection
Use connectOptions to cause
the connect command to retain unconnected states
in an interconnected model.
Suppose you have dynamic system models sys1, sys2,
and sys3. Combine these dynamic system models to
build an interconnected model with input 'r' and
output 'y'. Set the option to retain states in
the model that do not contribute to the dynamics in the path from 'r' or 'y'.
Specify optional
comma-separated pairs of Name,Value arguments. Name is
the argument name and Value is the corresponding value.
Name must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN.
Example: 'Simplify',false
'Simplify' — Automatic elimination of unconnected states true (default) | false
Automatic elimination of unconnected states, specified as either true or false.
true — connect eliminates
all states that do not contribute to the I/O transfer function from
the specified inputs to the specified outputs of the interconnected
system.
false — connect retains
unconnected states. This option can be useful, for example, when
you want to compute the interconnected system response from known
initial state values of the components.