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!