Struct contents reference from a non-struct array object.
显示 更早的评论
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 个评论
Ahmet Gürbüz
2017-11-16
编辑:Walter Roberson
2017-11-17
Rik
2017-11-17
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
2017-11-17
It is recommended that you use fullfile() instead of those concatenations of strings.
Ahmet Gürbüz
2017-11-17
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!