find structure
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
per isakson
am 20 Sep. 2011
Do you mean "fields" rather than "files"? If so try setdiff( fieldnames(A),fieldnames(B) )
Antworten (1)
Siehe auch
Kategorien
Mehr zu File Operations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!