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

3 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by