i have to slove the case sensitive error.

1 view (last 30 days)
Sidra  Ashraf
Sidra Ashraf on 28 Aug 2020
Answered: Star Strider on 28 Aug 2020
i have to classify images in 2 categories and i write the code for CNN model, in which i have to load the images in imageDataStore. I write this statement:
imds = ImageDatastore('C:\Users\sidi\Desktop\alcn\Dataset','IncludeSubFolders',1,'LabelSource','foldernames');
the main directory is named as alcn in which a code file and 1 folder name Dataset exist. In dataset folder 2 folders exist named as Train and Validation and both folders have 2categories folders.
but error occur:
Cannot find an exact (case-sensitive) match for 'ImageDatastore'
The closest match is: imageDatastore in C:\Program Files\MATLAB\R2017a\toolbox\matlab\datastoreio\imageDatastore.m
Please try to solve out this problem.

Answers (1)

Star Strider
Star Strider on 28 Aug 2020
The ‘i’ is lowercase: imageDatastore
.

Community Treasure Hunt

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

Start Hunting!