Some Problems with MatLab and Solutions

If you see problems with your parallel MatLab jobs with errors like this:

Failed to open matlabpool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.

or regarding the file  matlab_metadata.mat

you may need to recreate the preferences file.  To do this, go to your .matlab folder, and find the file, e.g.

find . -name matlab_metadata.mat -print

you'll see output like this

./.matlab/local_cluster_jobs/R2014a/matlab_metadata.mat ./.matlab/local_cluster_jobs/R2013a/matlab_metadata.mat

 

./.matlab/local_cluster_jobs/R2013a/matlab_metadata.mat

move the file (for the version you use) to a different name, e.g.  mv      ./.matlab/local_cluster_jobs/R2013a/matlab_metadata.mat   ./.matlab/local_cluster_jobs/R2013a/matlab_metadata.mat.old 

then you recreate it by starting MatLab and then revalidating the local config - this should recreate the file