Transfering data from GUI to main file
Ältere Kommentare anzeigen
I have a GUI, call it GUI1, with two pushbuttons, the first pushbutton executes a series of calculations which are unimportant to this question, suffice to say the calculations require user input data to function. The second pushbutton in the original GUI opens a second GUI, call it GUI2, where users are prompted to input data that will be used in the calculations mentioned earlier. I need to make it so that data entered in GUI2, can be accessed for the calculations. It may be helpful to know that the file which creates the first GUI, also houses the code for the calculations, I do not call a seperate file, but have just written the calculations in, to activate on pressing of the first pushbutton. How can I make it so that the information enterred in the second GUI can be accessed in the calculations?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating, Deleting, and Querying Graphics Objects finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!