Undefined function or variable 'arrayDatastore'.
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
Muhammad Usman Saleem
2022-10-2
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!
采纳的回答
Ameer Hamza
2020-11-22
arraydatastore(): https://www.mathworks.com/help/matlab/ref/matlab.io.datastore.arraydatastore.html was introduced i R2020b. You cannot use it in R2019a.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Software Development Tools 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!