includeSubFolders name value pair argument

4 次查看(过去 30 天)
when i included the includesubfolders it returns this error idk what it means. If somebody can help me. Thank you
myfolder = 'C:\address path of the folder im calling ';
dataDir = fullfile(myfolder);
imdir = fullfile (dataDir,'rgb');
imds = imageDatastore(imdir, "IncludeSubfolders","LabelSource","foldernames");

采纳的回答

Stephen23
Stephen23 2021-11-23
编辑:Stephen23 2021-11-23
imageDatastore(imdir, "IncludeSubfolders",true, "LabelSource","foldernames");
% ^^^^ you forgot this

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by