find structure
조회 수: 1 (최근 30일)
이전 댓글 표시
I have 2 structure vectors A and B. I want to find the files in A that are not in B I used x=find(~ismember(A,B)); I received an error : ??? Error using ==> double Conversion to double from struct is not possible.
Error in ==> ismember at 90 a = double(a);
How can I perform this task?
댓글 수: 3
per isakson
2011년 9월 20일
Do you mean "fields" rather than "files"? If so try setdiff( fieldnames(A),fieldnames(B) )
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Structures에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!