How do i resolve

조회 수: 22 (최근 30일)
Prakhar Bhatnagar
Prakhar Bhatnagar 2019년 9월 20일
댓글: Tom Mosher 2021년 10월 30일
submit
'parts' requires one of the following:
Navigation Toolbox
Robotics System Toolbox
Sensor Fusion and Tracking Toolbox
Error in submitWithConfiguration (line 4)
parts = parts(conf);
Error in submit (line 30)
submitWithConfiguration(conf);
  댓글 수: 3
Walter Roberson
Walter Roberson 2021년 6월 24일
Install one of: Navigation Toolbox, Robotics System Toolbox, or Sensor Fusion and Tracking Toolbox. That will resolve the error. (You would then get a different error.)
The permanent solution is as others have describe:
  • download repaired files from your course software; or
  • edit the code so that it does not use parts as both a variable and the name of a function.
Mohammed Lafoui
Mohammed Lafoui 2021년 7월 18일
I cannot submit all my exercices, error of path in windows!!!? how to repair this? please

댓글을 달려면 로그인하십시오.

채택된 답변

Abhishek Malik
Abhishek Malik 2020년 4월 22일
편집: Abhishek Malik 2020년 4월 22일
This is happening because variable parts has the same name as of parts(conf) function in file ex1/lib/submitWithConfiguration.m
Make the following changes to resolve this :
Line 4 - parts_1 = parts(conf);
Line 92 - function [parts_1] = parts(conf)
Line 93 - parts_1 = {};
Line 98 - parts_1{end + 1} = part;
Basically, I've just renamed the variables.
Same thing is happening with one more variable, so make the following changes :
Line 66 - submissionUrl_1 = submissionUrl();
Line 68 - responseBody = getResponse(submissionUrl_1, body);
This should work!
  댓글 수: 18
Amitabh Kant
Amitabh Kant 2021년 7월 2일
Also you have to change:
Line 22: response = submitParts(conf, email, token, parts_1);
Line 37: showFeedback(parts_1, response
Nick Tsui
Nick Tsui 2021년 8월 3일
Thanks!

댓글을 달려면 로그인하십시오.

추가 답변 (6개)

Peter Radi
Peter Radi 2019년 11월 11일
Just replace submitWithConfiguration.m's content with a previous version of it (like from ex4).

Nathan Abraham
Nathan Abraham 2020년 4월 4일
I changed the name of the function parts() to parts_1(). Try doing the same for the definition and the call for the function.
It seems that the name of the function parts in MATLAB is dedicated name to some other toolbox.
It worked for me.
Tnx
  댓글 수: 2
Tom Mosher
Tom Mosher 2020년 5월 2일
Better to download the correct set of programming exercise script files.
There are two sets available. MATLAB users should get the ones from the setup instructions for MATLAB Online in Week 2.
Ramon Andino
Ramon Andino 2020년 5월 25일
I am using zip download from week2

댓글을 달려면 로그인하십시오.


Walter Roberson
Walter Roberson 2019년 9월 21일
parts is a function defined inside submitWithConfiguration
  댓글 수: 7
Walter Roberson
Walter Roberson 2019년 10월 13일
Could you confirm that you are using a submitWithConfiguration.m that defines function parts() around line 93 or so ?
Mansi Patel
Mansi Patel 2019년 10월 13일
편집: Mansi Patel 2019년 10월 13일
yes
in line 93 : parts = {};

댓글을 달려면 로그인하십시오.


Chris Waweru
Chris Waweru 2020년 1월 4일
Hi am getting the same error. Someone please help.
submit()
'parts' requires one of the following:
Navigation Toolbox
Robotics System Toolbox
Sensor Fusion and Tracking Toolbox
Error in submitWithConfiguration (line 4)
parts = parts(conf);
Error in submit (line 45)
submitWithConfiguration(conf);
submit()
'parts' requires one of the following:
Navigation Toolbox
Robotics System Toolbox
Sensor Fusion and Tracking Toolbox
Error in submitWithConfiguration (line 4)
parts = parts(conf);
Error in submit (line 45)
submitWithConfiguration(conf);
  댓글 수: 3
Mike Ak
Mike Ak 2020년 12월 23일
>> submitWithConfiguration
'parts' requires one of the following:
Automated Driving Toolbox
Navigation Toolbox
Robotics System Toolbox
Sensor Fusion and Tracking Toolbox
UAV Toolbox
Error in submitWithConfiguration (line 5)
parts = parts(conf);
Sai Tarun
Sai Tarun 2021년 3월 30일
use parts_function(conf)

댓글을 달려면 로그인하십시오.


Narendra Wagdarikar
Narendra Wagdarikar 2020년 8월 8일
submit()
'parts' requires one of the following:
Automated Driving Toolbox
Navigation Toolbox
Robotics System Toolbox
Sensor Fusion and Tracking Toolbox
Error in submitWithConfiguration (line 4)
parts = parts(conf);
Error in submit (line 40)
submitWithConfiguration(conf);
  댓글 수: 5
Nimisha Nupur
Nimisha Nupur 2021년 5월 20일
Hi,
I followed the directions where I changed parts to parts_1, but when I submitted I get the following error.
Function: parts
FileName: /MATLAB Drive/machine-learning-ex3/ex3/lib/submitWithConfiguration.m
LineNumber: 94
Please correct your code and resubmit.
fline num 94 is :
for partArray = conf.partArrays
vishnu vardhan sreerlavancha
vishnu vardhan sreerlavancha 2021년 6월 20일
Hi Nimisha,
Please check all the references of 'parts' variable and replace in all places.
And also check 'submissionUrl = submissionUrl()'
replace 'submissionUrl_1 = submissionUrl()'
Check all the refences where we are calling submissionUrl and replace with submissionUrl_1
Hope this is helpful.
Thank you

댓글을 달려면 로그인하십시오.


Neha Ksheerasagar
Neha Ksheerasagar 2021년 10월 30일
Function: makePostBody
FileName: /MATLAB Drive/3XAKHIYlRiuwChyGJQYrRw_f1356b38f0f341e89cfc3b3b44ae8ff1_ex2-octave/lib/submitWithConfiguration.m
LineNumber: 74
how to solve this...getting this error while submitting
  댓글 수: 1
Tom Mosher
Tom Mosher 2021년 10월 30일
Please post your question on the Coursera discussion forum.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by