string in excel file

3 views (last 30 days)
Jo ali
Jo ali on 20 Jun 2022
Commented: Jo ali on 21 Jun 2022
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 :)

Answers (1)

Image Analyst
Image Analyst on 21 Jun 2022
Not sure why you can't use ismember. Did you try readcell, strfind, and contains?
Jo ali
Jo ali on 21 Jun 2022
Also, thank you very much for your response

Sign in to comment.




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!