fn = { dir(fullfile(rootpath, char(subfolders(i)), '*.jpg')).name };
MATLAB: Error to this line.Functions cannot be indexed using {} or . indexing.
image processing
Related Question
- How to add Filename to all variables automatically
- How can fix the Error using dir Function is not defined for ‘cell’ inputs
- How to fix ‘Error using contains First argument must be a string array, character vector, or cell array of character vectors.’
- Use parfor and getting “Index exceeds matrix dimensions” error
- Can I pull a file from any folder to process
- Mkdir with multiple subfolders that are variables
Best Answer