How to make a simple start button?
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Geoff Hayes
2014 年 6 月 24 日
編集済み: Geoff Hayes
2014 年 6 月 24 日
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Performance and Memory についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!