I'm getting an error when I try to use parpool (MATLAB 2018a)
22 views (last 30 days)
I'm trying to process some MRI data but the parpool function isn't working. I know there were some bugs in earlier versions of Matlab with macOS Sierra but this shouldn't be happening in the 2018a version?
Error using parpool (line 113) 'size' is not the name of a profile. Valid names are: 'local' 'MATLAB Parallel Cloud'
Agapi Dav on 31 Jul 2018
I think the problem is that the matlabpool was replaced by parpool. Therefore, matlabpool('size') is not valid anymore and parpool('size') does not do the job.
I found this quick fix here: https://github.com/RobotLocomotion/drake/issues/1009
if (matlabpool('size')==0) matlabpool; end
if isempty(gcp('nocreate')) parpool; end
For me it worked. Cheers!
P.S. Thanks Ben, new here!