The versions of MATLAB and the MATLAB Parallel Server you have installed must match if you are running R2015b and earlier in order for job submission to proceed.
You can upgrade your MATLAB Job Scheduler clusters and continue to use the R2016a release of Parallel Computing Toolbox on your MATLAB Desktop client to connect to it. This only applies to the R2016a release onward. You must install the same release of MATLAB Parallel Server for each release of MATLAB you want to support. You can configure MATLAB Job Scheduler with the location of these installations in the mjs_def file.
To set up a MATLAB Job Scheduler cluster for R2016a or following releases:
Install MATLAB Parallel Server for each release that the cluster supports. For example, to use R2016a and R2016b with your cluster, install both the R2016a and R2016b releases of MATLAB Parallel Server.
Specify the R2016a installation of MATLAB Parallel Server in the MDCS_ADDITIONAL_MATLABROOTS variable in the mdce_def file. This file is provided in matlabroot/toolbox/distcomp/bin for Linux (mdce_def.sh) and Windows (mdce_def.bat).
NOTE: Starting in R2019a the following name changes occurred:
- MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
- mdce_def was renamed to mjs_def
- mdce binary was renamed to mjs
- mjs_def.bat file is in $MATLAB/R20XXx/toolbox/distcomp/bin for R2019a and earlier