Undefined function or variable 'arrayDatastore'.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Zhao Zhang
am 22 Nov. 2020
Bearbeitet: Walter Roberson
am 2 Okt. 2022
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 Kommentar
Muhammad Usman Saleem
am 2 Okt. 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!
Akzeptierte Antwort
Ameer Hamza
am 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Software Development Tools finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!