- One for Octave (it's in the "Programming Assignment" page).
- The other is for MATLAB 2019b and later - like MATLAB Online. It has the fix required for this "parts = parts(conf)" issue. The MATLAB version of the programming exercise scripts is on the page in Week 2 with the MATLAB Online setup instructions.
submitWithConfiguration not working in matlab online R2020a.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Shreyash Kamble
am 30 Mär. 2020
Kommentiert: sujattha m
am 12 Jun. 2020
function A = warmUpExercise()
%WARMUPEXERCISE Example function in octave
% A = WARMUPEXERCISE() is an example function that returns the 5x5 identity matrix
A = [];
% ============= YOUR CODE HERE ==============
% Instructions: Return the 5x5 identity matrix
% In octave, we return values by defining which variables
% represent the return values (at the top of the file)
% and then set them accordingly.
A=eye(5);
% ===========================================
end
Error:
Error in submitWithConfiguration (line 4)
parts = parts(conf);
Error in submit (line 35)
submitWithConfiguration(conf);
0 Kommentare
Akzeptierte Antwort
Tom Mosher
am 2 Mai 2020
I am a mentor for Andrew Ng's Machine Learning course.
The recommended fix for this issue is to use the correct set of programming exercise scripts.
There are two sets:
***** Other benefits of using the right set of scripts *****
If you get the MATLAB version of the programming exercise scripts, you also get the ".mlx" helper script file, with the built-in instructions and fancy Notebooks-like interface. That is not provided with the Octave version of the scripts.
You also get all eight programming exercises in one swipe- with Octave, you have to repeat the download-and-extract business eight times during the course.
********
So, please use the right programming exercise scrips - and stop modifying the submit functions. Many students break things when trying that. It's a bad day for everyone.
Thank you.
0 Kommentare
Weitere Antworten (1)
Dhanya Sree
am 12 Apr. 2020
I m facing the same trouble. Could someone please tell me a solution to resolve this
2 Kommentare
sujattha m
am 12 Jun. 2020
The problem might be in new version. i chaned the variable name. but still i am getting error at line no 94
for partArray = conf.partArrays
sujattha m
am 12 Jun. 2020
Siehe auch
Kategorien
Mehr zu Octave 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!