Effacer les filtres
Effacer les filtres

the format difference between TXT and RAW result from xlsread function

1 vue (au cours des 30 derniers jours)
Yanbin Mo
Yanbin Mo le 10 Sep 2018
[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"

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by