MATLAB Answers


alternate of imageDatastore in matlab 2013a ?

Asked by Parul Sahi on 25 Oct 2017
Latest activity Commented on by Parul Sahi on 25 Oct 2017
%%Load training data
% Please note: these are 4 of the 10 categories available
% Feel free to choose which ever you like best!
categories = {'Deer','Dog','Frog','Cat'};
rootFolder = 'cifar10Train';
imds = imageDatastore(fullfile(rootFolder, categories), ...
'LabelSource', 'foldernames');


Sign in to comment.

1 Answers

Answer by Walter Roberson
on 25 Oct 2017

There was no equivalent to imageDatastore in R2013a.
Even if you converted to dataset objects using the Statistics Toolbox (the closest match, but missing a number of key routines compared to datastore objects), you would run into the problem that the CNN related routines did not exist in MATLAB in R2013a.
If you want to study deep learning and CNN, you should really get a MATLAB that is at least R2016b with the facilities improved even more in the versions newer than that.


The backend code was written by mathworks. It is not publicly available. The only way to obtain it legally is to purchase a newer license of matlab.
Alternately, you could get a job with Mathworks.
It will be an honour sir.

Sign in to comment.

Translated by