How to find strings in an excel file?

4 次查看(过去 30 天)
I want to find all colons in an excel file
colons = findstr(char, ':');
colons shows up empty. why is that?

采纳的回答

Diana
Diana 2013-4-9
Thanks for your reply
Yes, I did.
I also tried
colons = findstr(string, ':');
Any idea of what could be wrong?
  4 个评论
Yao Li
Yao Li 2013-4-11
sorry, I think it is not good to use string as the name of the variable.
find(strcmp(':',text_load_from_Excel ))
text_load_from_Excel is a cell type variable loaded from the Excel file
Diana
Diana 2013-4-15
No worries. Can you explain to me what a cell type variable is?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by