string in excel file
古いコメントを表示
Hi,
How can I find out if a certain word, e.g. 'oranges' is contained within an excel sheet? I can't use ismember as for some reason, the string has to be stored in a vector.
Thanks :)
回答 (1 件)
Image Analyst
2022 年 6 月 21 日
0 投票
Not sure why you can't use ismember. Did you try readcell, strfind, and contains?
4 件のコメント
Davindra Usov
2022 年 6 月 21 日
Image Analyst
2022 年 6 月 21 日
The search term is a string but g is a table.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:
Davindra Usov
2022 年 6 月 21 日
Davindra Usov
2022 年 6 月 21 日
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!