How do I switch between subsystems which contain Simscape blocks, during simulation?
2 次查看(过去 30 天)
显示 更早的评论
My subsystems are actuated via an external input which would change during simulation thus trigerring the switching of subsystems.
0 个评论
回答(2 个)
Swarooph
2016-8-23
You can use Enabled Subsystems. The system execution here depends on an input control signal (positive value results in execution). So you could have technically 2 enabled subsystems that are mutually exclusive by using a boolean signal and a not of that signal, enabling the 2 different systems. Then use the merge block to combine the input.
Muhammed
2023-7-17
Hallo,
ich würde gerne eine Modellbibliothek erstellen mittels Simscape, am besten auf Subssysteme aufteilen usw ist das möglich mit simscape falls ja wie soll man am besten vorgehen?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Discrete Events and Mode Charts 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!