Struct contents reference from a non-struct array object.
Ältere Kommentare anzeigen
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 Kommentare
Ahmet Gürbüz
am 16 Nov. 2017
Bearbeitet: Walter Roberson
am 17 Nov. 2017
Rik
am 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
am 17 Nov. 2017
It is recommended that you use fullfile() instead of those concatenations of strings.
Ahmet Gürbüz
am 17 Nov. 2017
Antworten (0)
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!