Reference model and variant models in SimScape
Afficher commentaires plus anciens
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?
Réponses (1)
Steve Miller
le 17 Oct 2014
2 votes
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
Catégories
En savoir plus sur Discrete Events and Mode Charts dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!