Feed on
Posts
Comments

I just learned about questdlg, a very cool little command in Matlab that I plan on making great use of.  HT: blinkdagger 

. . . if we use the following code, we can create a window that queries the user for their favorite color [or anything else]. Go ahead and copy and paste the following code into the Matlab command prompt.

%this example comes directly from the Matlab help
ButtonName = questdlg('What is your favorite color?', ...
                         'Color Question', ...
                         'Red', 'Green', 'Blue', 'Green');

Favorite Color

Matlab GUI – A simple but powerful command: questdlg | blinkdagger

Share and Enjoy:
  • Digg
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Technorati
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • LinkedIn
  • Live
  • Tumblr
  • Twitter
  • Yahoo! Bookmarks

Trackback URI | Comments RSS

Leave a Reply