How can I use variant subsystems to model components with different numbers of inputs/outputs?
2 views (last 30 days)
Show older comments
MathWorks Support Team
on 6 Jul 2017
Answered: MathWorks Support Team
on 7 Jul 2017
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
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Component-Based Modeling in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!