フィルターのクリア

the format difference between TXT and RAW result from xlsread function

1 回表示 (過去 30 日間)
Yanbin Mo
Yanbin Mo 2018 年 9 月 10 日
[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 Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by