Quote Rotating HyperCube
Mar 15

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: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • del.icio.us
  • Slashdot
  • StumbleUpon
  • Technorati

written by SplineGuy

Leave a Reply