includeSubFolders name value pair argument

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 日

0 投票

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