How to code this in gui?

2 ビュー (過去 30 日間)
Rizwana
Rizwana 2014 年 3 月 8 日
コメント済み: Rizwana 2014 年 3 月 9 日
I have nearly 5 functions. One function reads and later import the excels sheet and inside it i have embedded split function which splits the excel sheet into data/textdata/slno. After that iam providing 3 options to user in the same program. for eg: case 1 : plot pressure contour; case 2 : plot vorticity and so on... How to do it in gui.
Moreover, after selecting an option my programs executes another 2 set of function and comes to last function which is plotcontour(). Here iam asking user whether he/she wants to do filled colormap or unfilled colormap contour. How to program this as well in gui because these are cases where iam expecting user input not designer input.
Thanks
Rizwana

採用された回答

Image Analyst
Image Analyst 2014 年 3 月 8 日
You can either have checkboxes and radio buttons on your GUI, like MAGIC, or you can popup questions at the appropriate time using functions like menu(), questdlg(), and inputdlg(). Please view this short video: http://blogs.mathworks.com/videos/category/gui-or-guide/
  1 件のコメント
Rizwana
Rizwana 2014 年 3 月 9 日
Thanks for the link. I will get back if i still dont get it after watching the video.
Thanks
Rizwana

サインインしてコメントする。

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2014 年 3 月 8 日
You could use a pushbotton or a checkbox

カテゴリ

Help Center および File ExchangeData Distribution Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by