deep learning matlab toolbox error

4 views (last 30 days)
ahmad karim
ahmad karim on 26 Sep 2016
Commented: misbah khan on 4 Feb 2021
Dears, please i took the error msj when i copied and paste the code to the matlab 2013. i copied the code from ( https://www.mathworks.com/help/nnet/examples/training-a-deep-neural-network-for-digit-classification.html )
>> % Load the training data into memory [xTrainImages,tTrain] = digitTrainCellArrayData;
% Display some of the training images clf for i = 1:20 subplot(4,5,i); imshow(xTrainImages{i}); end * Undefined function or variable 'digitTrainCellArrayData'.
Please any one can help me.
Regards,

Answers (1)

John D'Errico
John D'Errico on 26 Sep 2016
You have an old MATLAB release, but are using a demo from a new release of MATLAB. I'll lay down 10 to 1 odds that this data (and that demo) did not exist in your release. Of course, such an online bet is worth nothing, but... :)
You need to upgrade your version of MATLAB if you want to do what you are doing.
  1 Comment
misbah khan
misbah khan on 4 Feb 2021
'imageInputLayer' requires Deep Learning Toolbox.
i have this problem how i solve this?

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!