Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
get_yes_or_no(prompt,default) displays a prompt and reads a response from standard input. 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 the user types 'quit' or 'exit', the program is stopped. If the user does not provide input and the optional default argument is present, the default value is returned. If none of these conditions is satisfied, an error message is generated and the prompt is displayed again.
Zitieren als
Phillip M. Feldman (2026). get_yes_or_no (https://de.mathworks.com/matlabcentral/fileexchange/24037-get_yes_or_no), MATLAB Central File Exchange. Abgerufen .
Quellenangaben
Inspiriert: CORE: Conceptual Optimization of Rotorcraft Environment
Allgemeine Informationen
- Version 1.1.0.0 (1,78 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.1.0.0 | Version 2.1 implements workaround for Matlab compiler bug involving strtrim. (strtrim dies when the input string is empty). |
||
| 1.0.0.0 |
