Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

pathdef.m mile is missing.

Asked by amit on 30 Nov 2012

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?

0 Comments

amit

Products

No products are associated with this question.

1 Answer

Answer by Image Analyst on 30 Nov 2012
Accepted 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.

1 Comment

amit on 11 Feb 2013

yes, there was some problem with Zip file and i tried reinstalling it two times and second install worked. thank you.

Image Analyst

Contact us