string in excel file
Mostrar comentarios más antiguos
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 :)
Respuestas (1)
Image Analyst
el 21 de Jun. de 2022
0 votos
Not sure why you can't use ismember. Did you try readcell, strfind, and contains?
4 comentarios
Davindra Usov
el 21 de Jun. de 2022
Image Analyst
el 21 de Jun. de 2022
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
el 21 de Jun. de 2022
Davindra Usov
el 21 de Jun. de 2022
Categorías
Más información sobre Spreadsheets en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!