Struct contents reference from a non-struct array object.
Show older comments
for t=1:length(rcFiles)
filename=strcat('C:\MATLAB\R2017a\bin\dataset\',rcFiles(t).name);
b=gorsel(filename,t);
end
Struct contents reference from a non-struct array object.
4 Comments
Ahmet Gürbüz
on 16 Nov 2017
Edited: Walter Roberson
on 17 Nov 2017
Rik
on 17 Nov 2017
The only place I see a struct content reference is in the first line inside the loop. Are you sure rcFiles is indeed a struct?
Walter Roberson
on 17 Nov 2017
It is recommended that you use fullfile() instead of those concatenations of strings.
Ahmet Gürbüz
on 17 Nov 2017
Answers (0)
Categories
Find more on MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!