Undefined function 'regexp' for input arguments of type 'struct'
古いコメントを表示
I want to extract keywords(which the word start with import.XXXX) from multiple files under annotation folder. I run my code like this, Y I get the error? Anybody can help?
r = dir(fullfile('C:\Users\ASUS\Desktop\AngryBirdTest\android\support\annotation', '*.java'));
for i=1:length(r)
p = regexpi(FileList,'import.\w*.\w*.\w*','match');
disp(p(i));
end
1 件のコメント
Walter Roberson
2017 年 3 月 5 日
Are those things stored inside the files or are they part of the file names?
採用された回答
その他の回答 (1 件)
Image Analyst
2017 年 3 月 5 日
0 投票
You didn't show us how you got FileList. Evidently it thinks it's a structure.
カテゴリ
ヘルプ センター および File Exchange で Multirate Signal Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!