how to find specific string out of a list in an excel
1 ビュー (過去 30 日間)
表示 古いコメント
file = read('file');
pattern = strcmp('9',file);
row = find(pattern==1);
writetable(row,'sampletable.txt')
採用された回答
Walter Roberson
2022 年 8 月 8 日
data = readtable('FileNameGoesHere');
mask = data{:,ColumnNumberGoesHere} == 9;
subset = data(mask,:);
writetable(subset, 'sampletable.txt');
2 件のコメント
Image Analyst
2022 年 8 月 8 日
その他の回答 (0 件)
参考
カテゴリ
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!