includeSubFolders name value pair argument

조회 수: 4 (최근 30일)
Ramon Miguel Legaspi
Ramon Miguel Legaspi 2021년 11월 23일
댓글: Ramon Miguel Legaspi 2021년 11월 23일
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