What is "arraydatastore" error

Dear someone
I'm trying to set a multiple input and output for neural network.
In order to understand how it works, I just tried examples in Mathworks (as bellows URL) but it doesn't work.
An error message
>> dsXTrain = arraydatastore(XTrain,'IterationDimension',4);
Unrecognized function or variable 'arraydatastore'.
showed up.
URL : https://jp.mathworks.com/help/deeplearning/ug/train-network-with-multiple-outputs.html?lang=en
How can I do for this ??
---------------------Script from the URL-------------------------------
[XTrain,YTrain,anglesTrain] = digitTrain4DArrayData;
dsXTrain = datastore(XTrain,'IterationDimension',4);
dsYTrain = datastore(YTrain);
dsAnglesTrain = datastore(anglesTrain);
dsTrain = combine(dsXTrain,dsYTrain,dsAnglesTrain);
classNames = categories(YTrain);
numClasses = numel(classNames);
numObservations = numel(YTrain);
------------------------------------------------------------------------------

1 Comment

I meet the same problem. probably need update to the newest version?

Sign in to comment.

Answers (0)

Categories

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

Products

Release

R2019b

Asked:

on 20 Oct 2020

Commented:

on 22 Oct 2020

Community Treasure Hunt

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

Start Hunting!