how to find specific string out of a list in an excel
古いコメントを表示
file = read('file');
pattern = strcmp('9',file);
row = find(pattern==1);
writetable(row,'sampletable.txt')
2 件のコメント
Walter Roberson
2022 年 8 月 8 日
Are you starting with a .csv file or a .xlsx file?
Are there multiple columns in the file? Should only one column be examined for a match? Should the entire row with the match be output? Is it possible that multiple rows will match?
Ihaveaquest
2022 年 8 月 8 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!