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!