How do i resolve

25 visualizaciones (últimos 30 días)
Prakhar Bhatnagar
Prakhar Bhatnagar el 20 de Sept. de 2019
Comentada: Tom Mosher el 30 de Oct. de 2021
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 comentarios
Walter Roberson
Walter Roberson el 24 de Jun. de 2021
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 el 18 de Jul. de 2021
I cannot submit all my exercices, error of path in windows!!!? how to repair this? please

Iniciar sesión para comentar.

Respuesta aceptada

Abhishek Malik
Abhishek Malik el 22 de Abr. de 2020
Editada: Abhishek Malik el 22 de Abr. de 2020
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 comentarios
Amitabh Kant
Amitabh Kant el 2 de Jul. de 2021
Also you have to change:
Line 22: response = submitParts(conf, email, token, parts_1);
Line 37: showFeedback(parts_1, response
Nick Tsui
Nick Tsui el 3 de Ag. de 2021
Thanks!

Iniciar sesión para comentar.

Más respuestas (6)

Peter Radi
Peter Radi el 11 de Nov. de 2019
Just replace submitWithConfiguration.m's content with a previous version of it (like from ex4).

Nathan Abraham
Nathan Abraham el 4 de Abr. de 2020
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 comentarios
Tom Mosher
Tom Mosher el 2 de Mayo de 2020
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 el 25 de Mayo de 2020
I am using zip download from week2

Iniciar sesión para comentar.


Walter Roberson
Walter Roberson el 21 de Sept. de 2019
parts is a function defined inside submitWithConfiguration
  7 comentarios
Walter Roberson
Walter Roberson el 13 de Oct. de 2019
Could you confirm that you are using a submitWithConfiguration.m that defines function parts() around line 93 or so ?
Mansi Patel
Mansi Patel el 13 de Oct. de 2019
Editada: Mansi Patel el 13 de Oct. de 2019
yes
in line 93 : parts = {};

Iniciar sesión para comentar.


Chris Waweru
Chris Waweru el 4 de En. de 2020
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 comentarios
Mike Ak
Mike Ak el 23 de Dic. de 2020
>> 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 el 30 de Mzo. de 2021
use parts_function(conf)

Iniciar sesión para comentar.


Narendra Wagdarikar
Narendra Wagdarikar el 8 de Ag. de 2020
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 comentarios
Nimisha Nupur
Nimisha Nupur el 20 de Mayo de 2021
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 el 20 de Jun. de 2021
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

Iniciar sesión para comentar.


Neha Ksheerasagar
Neha Ksheerasagar el 30 de Oct. de 2021
Function: makePostBody
FileName: /MATLAB Drive/3XAKHIYlRiuwChyGJQYrRw_f1356b38f0f341e89cfc3b3b44ae8ff1_ex2-octave/lib/submitWithConfiguration.m
LineNumber: 74
how to solve this...getting this error while submitting
  1 comentario
Tom Mosher
Tom Mosher el 30 de Oct. de 2021
Please post your question on the Coursera discussion forum.

Iniciar sesión para comentar.

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by