Validated Input Function

버전 1.0.0.0 (5.28 KB) 작성자: Sky Sartorius
Like the built-in input function but with the ability to impose constraints and checks on user input
다운로드 수: 325
업데이트 날짜: 2015/10/16

라이선스 보기

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.

인용 양식

Sky Sartorius (2024). Validated Input Function (https://www.mathworks.com/matlabcentral/fileexchange/53553-validated-input-function), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2015b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Genetic Algorithm에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0