Undefined function or variable 'imageDatastore'

1 view (last 30 days)
I am using R2015a when i use imageDatastore it give error undefined function or variable. Please suggest some solution

Answers (3)

KSSV
KSSV on 16 Oct 2018
It is introduced in 2015b and you need to have imageDatastore tool box to access it. More check here:
  2 Comments
suraj singh
suraj singh on 16 Oct 2018
sir i don not have 2015b, i have 2015a. Please suggest any solution
Walter Roberson
Walter Roberson on 14 Apr 2019
Edited: Walter Roberson on 14 Apr 2019
The solution would be to get a job at Mathworks to port all of the datastore functions into an update for R2015a so that you could apply the update rather than having to upgrade to R2015b (or, better, R2016a) I think this would be difficult to do, as I doubt that Mathworks would consider it to be a good use of an employee or intern's time.

Sign in to comment.


madhan ravi
madhan ravi on 16 Oct 2018
Edited: madhan ravi on 16 Oct 2018
  3 Comments
madhan ravi
madhan ravi on 16 Oct 2018
still the same , what error does it show?
suraj singh
suraj singh on 16 Oct 2018
it shows error: Cannot find a datastore for the location specified. The location might not be supported by any datastore or an error occurred while trying to create your datastore. You can specify the 'DatastoreType' name-value pair argument to select a specific datastore type.

Sign in to comment.


Walter Roberson
Walter Roberson on 16 Oct 2018
The function imageDataStore() was added in R2016a, but the class was added in R2015b and could be used with datastore() type 'image'. Before R2015b there was no support for data stores of images.

Community Treasure Hunt

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

Start Hunting!