How to verify a specific user input (excel array)
이전 댓글 표시
Hey !
I'd like to ask the user the enter the excel array on which he just stored values from an experiment, such as this : B5:C24 .
How can I check if the format of is input is right? (I don't want the program to stop since it is long and expensive to do)
Thank you
답변 (1개)
Mario Malic
2020년 9월 1일
편집: Mario Malic
2020년 9월 1일
0 개 추천
Do the xlsread of these particular cells, save them in an array and use the validateattributes function, or if you have specifics, you can use if conditions.
카테고리
도움말 센터 및 File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!