Undefined function or variable 'arrayDatastore'.
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Zhao Zhang
le 22 Nov 2020
Modifié(e) : Walter Roberson
le 2 Oct 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 commentaire
Muhammad Usman Saleem
le 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!
Réponse acceptée
Ameer Hamza
le 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.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Environment and Settings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!