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 个评论

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

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Deep Learning Toolbox 的更多信息

产品

版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by