Validated Input Function

Like the built-in input function but with the ability to impose constraints and checks on user input
325 download
Aggiornato 16 ott 2015

Visualizza la licenza

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.

Cita come

Sky Sartorius (2026). Validated Input Function (https://it.mathworks.com/matlabcentral/fileexchange/53553-validated-input-function), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2015b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Versione Pubblicato Note della release
1.0.0.0