Reference model and variant models in SimScape

22 views (last 30 days)
Hi, I'm relativ new in this topic SimScape and try to set up kinds of variant management and configuration management with models of SimScape. In Simulink / Stateflow I'm able to use referenced models to build up complex "master models" with a lot of sub models. Then in my team we can change different models, include different variants and select at the end the used variant. How it's possible to do this with SimScape models? Or is it planned to add this functionality in next release?

Answers (1)

Steve Miller
Steve Miller on 17 Oct 2014
Hello -- Reference Models (through R2014b) only support signal inports and outputs, not physical ports. You can put Simscape blocks inside a Reference Model, but only signal ports can enter and leave a Reference Model
Variant Subsystems do support Simscape physical ports, so you can use Simscape inside Variant subsystems and have exposed physical ports.
For an example, see sdl_4wd_dynamics, which uses variants to switch between different tire models. You can also see this example on mathworks.com
--Steve

Categories

Find more on Tires and Vehicles 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!