Undefined function or variable 'arrayDatastore'.
5 views (last 30 days)
Show older comments
I am trying to run the code https://www.mathworks.com/help/deeplearning/ug/train-network-with-multiple-outputs.html
I can run this line:
[XTrain,YTrain,anglesTrain] = digitTrain4DArrayData;
However, when I run this line
dsXTrain = arrayDatastore(XTrain,'IterationDimension',4);
It comes
Undefined function or variable 'arrayDatastore'.
So I think I dont have the function of "arrayDatastore"
Then I searched this website https://www.mathworks.com/help/matlab/ref/matlab.io.datastore.arraydatastore.html
I run
>> A = magic(10);
>> arrds = arrayDatastore(A);
Undefined function or variable 'arrayDatastore'.
1 Comment
Muhammad Usman Saleem
on 2 Oct 2022
It's becomes a long discussion. There are serval examples on Mathwork which are based on new functions in Matlab. But the most problamatic thing is all of these examples are written on functions avaiables in lastest version of Matlab. When a user having older version of this great softare, he stuck in problem how I incooperate new functions in older version. This thing really suffer the new users of Matlab having older versions. A request is to the developers to please create file exchanges of new functions so that users from older version can use them and take benifact of fantanstic examples given in Mathwork community to resolve thier problems. Thanks you!
Accepted Answer
Ameer Hamza
on 22 Nov 2020
arraydatastore(): https://www.mathworks.com/help/matlab/ref/matlab.io.datastore.arraydatastore.html was introduced i R2020b. You cannot use it in R2019a.
More Answers (0)
See Also
Categories
Find more on Environment and Settings 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!