the format difference between TXT and RAW result from xlsread function

1 次查看(过去 30 天)
[DAT, TXT, RAW]=xlsread('blabla')
for example, column A in Excel file is character type ftxt=TXT(:,1); fraw=RAW(:,1);
why the resulting TXT array can be applied with "strfind" function like ans=strfind(ftxt, 'hello') with no problem,
but ans=strfind(fraw, 'hello') will give me the following error: "Cell must be a cell array of character vectors"

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by