Removed Support for Certain Functions in MATLAB Grader?
Show older comments
I am reusing a MATLAB Grader assignment from previous semesters for my students this term, and it seems like some functions are no longer supported. In the below code, view() and train() are no longer supported, but were supported in the past.
%% compare with patternnet
net = patternnet(4,'trainscg','crossentropy');
net = configure(net,X,Y);
view(net);
%% output from randomly initialized net
rng(1);
net = init(net);
Yest = sim(net,X);
figure(5);
plot(Yest);
%% train it!
net.trainParam.max_fail = 200;
%net.trainParam.epochs = 10000;
[trainedNet, history] = train(net, X, Y);
Are there release notes for the list of functions or toolboxes the current MATLAB Grader version supports and no longer supports?
1 Comment
Walter Roberson
on 3 Apr 2022
There are some release notes, https://www.mathworks.com/help/matlabgrader/ug/matlab-grader-release-notes.html but they do not appear to talk about supported functions.
Accepted Answer
More Answers (1)
Jeff Alderson
on 3 Apr 2022
Edited: Walter Roberson
on 3 Apr 2022
0 votes
When creating your new course, did you remember to add the required toolboxes to your course? What MATLAB error messages do you see when you run your code? If it says function could not be found, you most likely need to add the toolboxes you require on your course settings.
1 Comment
Nathan You
on 3 Apr 2022
Communities
More Answers in the Distance Learning Community
Categories
Find more on Use Content in an LMS Course 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!