Then run each of the following jobs:\ncluster = parcluster();
job = createJob (cluster);
createTask(job, @sum, 1, {[1 1]});
submit(job);
wait(job);
out = fetchOutputs(job)
\n \ncluster = parcluster();
job = createCommunicatingJob(cluster, 'Type', 'spmd') ;
createTask(job, @labindex, 1, {});
submit(job);
wait(job);
out = fetchOutputs(job)
\nStarting with MATLAB R2013b to run a MATLAB interactive job, use the "parpool" command:
\nparpool('name_of_profile', 2)
\n \nIf using MATLAB R2013a or older to run a MATLAB interactive job, use the "matlabpool" command:\nmatlabpool('name_of_profile', 2)
If any of these jobs fail you should be presented with a more descriptive error message.
NOTE: Starting in R2019a the following name changes occurred:\n- MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
- "mdce_def" was renamed to "mjs_def"
- "mdce" binary was renamed to "mjs"
Best Answer