GUI help - Possible to have somethings grayed out until needed
Show older comments
Hi, I have a simulator that I have designed that has an intialization file "init.m" to run it. However, I am trying to make it a bit more user friendly and have been creating a gui for it. This is my first time using GUIDE so I am new to it but have been watching and reading tutorials and been picking it up.
I would like to have some items grayed out until somethine else is chosen. For example with radio buttons have
menu 1 = [A B C]
menu 2 is only active only if B is selected from menu 1. Otherwise it is grayed or not visible at all.
Is this possible, if so how?
Thanks in advance
Accepted Answer
More Answers (1)
Aurelien Queffurust
on 11 Jan 2012
6 votes
You must use enable property of uicontrols.
Categories
Find more on Interactive Control and Callbacks 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!