connectOptions
Options for the connect
command
Description
Examples
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'
to 'y'
.
opt = connectOptions(Simplify=false); sysc = connect(sys1,sys2,sys3,'r','y',opt);
Input Arguments
S
— 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.
Output Arguments
opt
— Options for connect
connectOptions
options set
Options for connect
, returned as a connectOptions
options set. Use opt
as the last argument to
connect
when interconnecting models.
Version History
Introduced in R2013b
See Also
Comando de MATLAB
Ha hecho clic en un enlace que corresponde a este comando de MATLAB:
Ejecute el comando introduciéndolo en la ventana de comandos de MATLAB. Los navegadores web no admiten comandos de MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)