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

getting
Error using parpool (line 103) Not enough input arguments
when running a parallel job. R2016a

2 Comments

Are you passing any arguments to parpool ?
What shows up for
which -all parpool
?
Please show your parpool code. I'm not sure what arguments you did input.

Sign in to comment.

Answers (1)

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

This is the right answer for Matlab R2017b. Many thanks!
Great! worked for me as well. This happened after Matlab crashed in a middle of a parallel job

Sign in to comment.

Categories

Asked:

on 7 Feb 2017

Commented:

on 12 Jul 2018

Community Treasure Hunt

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

Start Hunting!