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 Comment

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

Sign in to comment.

Answers (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.

Products

Tags

Asked:

sia
on 18 May 2013

Edited:

on 19 Dec 2015

Community Treasure Hunt

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

Start Hunting!