Undefined function or variable 'arrayDatastore'.
조회 수: 7 (최근 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!