MATLAB: Pathdef.m mile is missing.

pathdef.m not found

Warning: C:\Program Files\MATLAB\R2012a\toolbox\local\pathdef.m not found. Toolbox Path Cache is not being used. Type 'help toolbox_path_cache' for more info Undefined function or variable 'ispc'. Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session. Warning: Duplicate directory name: C:\Program Files\MATLAB\R2012a\toolbox\local. Warning: Initializing Handle Graphics failed in matlabrc. This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was: MATLAB:undefinedVarOrClass Undefined variable "graphics" or class "graphics.internal.initializeMATLABRoot". Warning: Initializing Java preferences failed in matlabrc. This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was: MATLAB:UndefinedFunction Undefined function 'usejava' for input arguments of type 'char'
i am getting this message on every start-up, i already did as message said and had also checked for solutions online, but still its not working.
i need suggestions or can i make a pathdef.m file and save paths for every thing i am using?

Best Answer

Well, did you issue the commands:
restoredefaultpath;
matlabrc
like it suggested? Or have you tried uninstalling and reinstalling? The Mathworks gives free technical support for all installation issues. Call them if you need to.