Validated Input Function
s = VALIDATEDINPUT(prompt,'s',validStrings) will process the input S using s = validatestring(S,validStrings).
k = VALIDATEDINPUT(prompt,classes,attributes) checks the input A using validateattributes(A,classes,attributes).
k = VALIDATEDINPUT(prompt,validationFcn) checks the input using the provided validationFcn.
If the user input provided at the prompt is invalid, the user will be informed of the reason why and re-prompted until a valid input is given.
Citar como
Sky Sartorius (2024). Validated Input Function (https://www.mathworks.com/matlabcentral/fileexchange/53553-validated-input-function), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Agradecimientos
Inspirado por: TXTMENU - Text-Based Menu for the Command Window
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |