How can I use variant subsystems to model components with different numbers of inputs/outputs?

1 次查看(过去 30 天)
I'm using R2013b or earlier. I want to use a Variant Subsystem to model child subsystems which have differing numbers of inputs and outputs. Can these systems be modeled using a Variant Subsystem?

采纳的回答

MathWorks Support Team
Starting in R2014a, variant subsystems can have inports and outports that differ in number from the inports and outports in the parent Variant Subsystem. This is not supported in earlier releases. However, it's possible to model these systems by attaching some inputs and outputs to Terminator and Ground blocks.
To do this, create the child subsystems. Each should have N inputs and M outputs (some will be "dummy" inputs or outputs). Then, for each subsystem, connect the dummy inputs to Terminator blocks and dummy outputs to Ground blocks.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Component-Based Modeling 的更多信息

标签

尚未输入任何标签。

产品


版本

R2011a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by