Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Peardrop CMS 0.2.3
  • CommaFeed 0.0.1
  • Squash
  • Pick-a-Color 1.1.5
  • MVIS Security Center 1....
  • EasyZoom 1.0.3
  • jQueryGantt
  • IMDBPHP 2.1.8
  • Dynamic WordPress Form ...
  • PathFinding.js 0.4.1
  • Home > Scripts > Snippets

    get_yes_or_no

    download button


    Downloads: 402  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Phillip Feldman | More scripts
    www.mathworks.com
    BSD License - BSD License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    Matlab
    August 20th, 2009, 06:16 GMT
    C: \ Snippets

     Read user reviews (0)  Refer to a friend  Subscribe

    get_yes_or_no description

    This MATLAB function will prompt the user to provide a yes or no answer, with an optional default value

    If the response is 'y', 'yes', 'Y', or "yes", a value of 1 is returned.

    If the response is 'n', 'no', 'N', or 'NO', a value of 0 is returned.

    If nothing is chosen, the default answer is selected.

    If none of these conditions is satisfied, an error message is generated and the prompt is displayed again.

    Requirements:

    · MATLAB 7.8 or higher



    TAGS:

    user interaction | MATLAB GUI | default answer | GUI | interaction | choose

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM