嗨,我有一个单元格数组(40,000X1),其中每个单元格包含一个字符串。我想找到包含特定字符串的单元格的索引。
我使用了以下方法:
index = strfind(mycellarray,“Bla”);
我得到以下错误:??使用==>单元格时出错。strfindat 35 If any of the input arguments are cell arrays, the first must be a cell array of strings and the second must be a character array.
什么是错误的,在帮助文件strfind接受单元格数组和模式…?
谢谢你!