How to make a simple start button?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Michael
am 24 Jun. 2014
Kommentiert: Geoff Hayes
am 25 Jun. 2014
I was wondering if someone could tell me how to make a simple "start program button?" prompt where the program will only continue if the user hits "ok." If they hit "no," then the program just exits.This will got at the start of the program.
0 Kommentare
Akzeptierte Antwort
Geoff Hayes
am 24 Jun. 2014
Bearbeitet: Geoff Hayes
am 24 Jun. 2014
Check out the following link http://www.mathworks.com/help/matlab/ref/questdlg.html. You can use a question dialog to query the user if he/she wishes to start the program or not. Based on that result, the program will continue (or not).
5 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Performance and Memory 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!