MATLAB Answers

find structure

2 views (last 30 days)
joseph Frank
joseph Frank on 20 Sep 2011
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?
joseph Frank
joseph Frank on 21 Sep 2011
A and B come from dir( )
A = dir('ret*.mat');

Sign in to comment.

Answers (1)

Fangjun Jiang
Fangjun Jiang on 2 Oct 2011


Community Treasure Hunt

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

Start Hunting!

Translated by