how can i control subsystems from the Gui with checkboxes

Hi guys,
i have different subsystems and i want to activate them with the checkboxs. But at first i have to couple these two Subsystems with each other. that is the first Problem with which simulink Block can I block these two Sebsystems, such that i can switch between these??? Maybe If action Subsystem????
THX

1 个评论

Does the GUI switch between the subsystems during simulation time, or only before simulation starts?

请先登录,再进行评论。

回答(1 个)

If you using triggered subsystems, you can use GUI check box to activate/trigger the subsystem of your choice. If, at any time, only one of the subsystems should be active, then you can couple trigger of both subsystems with a switch and the control value shall be controlled by the GUI.

类别

帮助中心File Exchange 中查找有关 Subsystems 的更多信息

产品

标签

提问:

sia
2013-5-18

Community Treasure Hunt

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

Start Hunting!

Translated by