MATLAB: Do I get errors about invalid data type when trying to open the Parallel menu in MATLAB

Parallel Computing Toolbox

Using the Parallel Menu to try to Manage Configurations will give the following errors:
Warning: an error occurred while parsing class
distcomp.abstracttask:
Invalid data type.
> In distcomp.simpletask.schema at 11
In distcomp.abstractjob.schema at 19
In distcomp.simplejob.schema at 11
In distcomp.abstractscheduler.schema at 21
In distcomp.mpiexec.schema at 7
In distcomp.typechecker.schema at 17
In distcomp.configsection.configsection at 50
In distcomp.configuration.pGetTypeFromStruct at 7
In distcomp.configuration.pInitializeFromName at 17
In distcomp.configuration.getJavaReference at 15
Warning: an error occurred while parsing class
distcomp.simpletask:
Invalid superclass handle.
When I try to use matlabpool, I get the following errors:
??? Undefined variable "parallel" or class "parallel.internal.cluster.MatlabpoolHelper.getAllActions".
Error in ==> matlabpool at 119
actionsToParse = parallel.internal.cluster.MatlabpoolHelper.getAllActions();

Best Answer

This error is caused by issues with the current path settings for MATLAB. Try resetting to the default path by running the following in MATLAB:
restoredefaultpath;matlabrc
savepath