Undefined function or variable 'imageDatastore'

1 visualizzazione (ultimi 30 giorni)
suraj singh
suraj singh il 16 Ott 2018
Modificato: Walter Roberson il 14 Apr 2019
I am using R2015a when i use imageDatastore it give error undefined function or variable. Please suggest some solution

Risposte (3)

KSSV
KSSV il 16 Ott 2018
It is introduced in 2015b and you need to have imageDatastore tool box to access it. More check here:
  2 Commenti
suraj singh
suraj singh il 16 Ott 2018
sir i don not have 2015b, i have 2015a. Please suggest any solution
Walter Roberson
Walter Roberson il 14 Apr 2019
Modificato: Walter Roberson il 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.

Accedi per commentare.


madhan ravi
madhan ravi il 16 Ott 2018
Modificato: madhan ravi il 16 Ott 2018
  3 Commenti
madhan ravi
madhan ravi il 16 Ott 2018
still the same , what error does it show?
suraj singh
suraj singh il 16 Ott 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.

Accedi per commentare.


Walter Roberson
Walter Roberson il 16 Ott 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!

Translated by