How do I enable and disable sets of uicontrols at the same time?

3 views (last 30 days)
I am creating a list of that a user can edit. It consists of edit boxes, check boxes, and toggle buttons on the same line in the GUI.When the user starts the GUI, I only want the first set of the those boxes to show up, but when they click an add pushbutton, another row of those same set of boxes and buttons are enabled below it. Same scenario for the delete button, I want it to disable the group of info. Thank you for any help.

Answers (1)

Walter Roberson
Walter Roberson on 5 Apr 2017
You can pass a vector of handles to set() the Visible property of.

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!