how can i control subsystems from the Gui with checkboxes

3 views (last 30 days)
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 Comment
Kaustubha Govind
Kaustubha Govind on 20 May 2013
Does the GUI switch between the subsystems during simulation time, or only before simulation starts?

Sign in to comment.

Answers (1)

Arunkumar Muthukumaran
Arunkumar Muthukumaran on 19 Dec 2015
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.

Tags

Products

Community Treasure Hunt

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

Start Hunting!