MATLAB 22.214.171.1244997 (R2019a) Update 6
I could not use parfor so I tried to Validate my cluster in Cluster Profile Manager.
Cluster Connection test and job test passed, but SPMD job test failed with the following report: attached file.
I tried doing the following
distcomp.feature( 'LocalUseMpiexec', false )
but it was of no avail.