Is there a way for a GUI to be created based on input on another GUI?

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?

 Accepted Answer

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!)

More Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Asked:

on 24 Jul 2018

Answered:

on 24 Jul 2018

Community Treasure Hunt

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

Start Hunting!