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!