Is there a way for a GUI to be created based on input on another GUI?
3 views (last 30 days)
Show older comments
I have a GUI with a popup menu, you have options 1-12. The gist is if you select '4' for example, my new GUI should have '4' text boxes to input data, if you select '10', my new GUI should have '10' text boxes to input data. I understand I can create a 12 different GUIs for every option but this would be rather tedious to do. Is there a way for me to have only one 1 GUI that is changing based on the input?
2 Comments
OCDER
on 24 Jul 2018
You'll have to hard code a variable GUI then. https://www.mathworks.com/help/matlab/ref/uicontrol.html
Accepted Answer
OCDER
on 24 Jul 2018
You'll have to hard code a variable GUI then. https://www.mathworks.com/help/matlab/ref/uicontrol.html
(moved from the comments. Didn't realize this was going to be the answer you were looking for!)
0 Comments
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB 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!