Setting Delays and Opening new Form, Closing old forms in GUI
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi all
Is there a way to create a delay (example: 3sec) for a button after pressed in GUI1?
Also, how should I open a new form (GUI2) and close the GUI1 from previous with a button?
0 Kommentare
Akzeptierte Antwort
Wouter
am 20 Mär. 2013
Bearbeitet: Wouter
am 20 Mär. 2013
you can set a 3 second delay by (this does pause matlab entirely though):
pause(3)
you can open a new gui using:
GuiFunction(input1,input2,etc...)
where GuiFunction is the function name of GUI2
You can close a current gui using:
delete(handles.figure1);
where figure1 is the label of the current figure window (belonging to gui1).
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps 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!