Clear Filters
Clear Filters

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

1 view (last 30 days)
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?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 6 Jul 2017
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.

More Answers (0)

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2011a

Community Treasure Hunt

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

Start Hunting!