getting Error using parpool (line 103) Not enough input arguments.

2 views (last 30 days)
getting
Error using parpool (line 103) Not enough input arguments
when running a parallel job. R2016a
  2 Comments
Walter Roberson
Walter Roberson on 7 Feb 2017
Are you passing any arguments to parpool ?
What shows up for
which -all parpool
?
Kojiro Saito
Kojiro Saito on 9 Feb 2017
Please show your parpool code. I'm not sure what arguments you did input.

Sign in to comment.

Answers (1)

randy cruise
randy cruise on 26 May 2017
Edited: randy cruise on 26 May 2017
I faced same problem, but finally find the solotuion
--> Enter matlab command window 'prefdir' --> You can see C:\Users\xxx\AppData\Roaming\MathWorks\MATLAB\R2016a --> Delete local_cluster_jobs and restart matlab --> I hope this will fix the issue.
  2 Comments
Sirvan Khalighi
Sirvan Khalighi on 10 Feb 2018
Edited: Sirvan Khalighi on 10 Feb 2018
This is the right answer for Matlab R2017b. Many thanks!
nadav
nadav on 12 Jul 2018
Great! worked for me as well. This happened after Matlab crashed in a middle of a parallel job

Sign in to comment.

Categories

Find more on Parallel Computing Fundamentals 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!