Undefined function or variable 'imageDatastore'

I am using R2015a when i use imageDatastore it give error undefined function or variable. Please suggest some solution

Answers (3)

It is introduced in 2015b and you need to have imageDatastore tool box to access it. More check here:

2 Comments

sir i don not have 2015b, i have 2015a. Please suggest any solution
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

still the same , what error does it show?
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.

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.

Asked:

on 16 Oct 2018

Edited:

on 14 Apr 2019

Community Treasure Hunt

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

Start Hunting!