'LabelSource' is not a recognized parameter. For a list of valid name-value pair arguments, see the documentation for signalDatastore.

2 views (last 30 days)
I have dataset of .mat file which is present in folders. I want to read the folder name as label. but it did't work
imds = signalDatastore(dataDirectory,'IncludeSubfolders',true,'FileExtensions','.mat', 'LabelSource','foldernames');

Answers (0)

Community Treasure Hunt

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

Start Hunting!