Borrar filtros
Borrar filtros

missing pathdef.m when starting MATLAB 7.14 (R2012a), new warning

4 visualizaciones (últimos 30 días)
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'.
> In matlabrc at 113
Warning: Failed to add default profiler filters.
> In matlabrc at 168
restoredefaultpath;
matlabrc
savepath
Warning: Duplicate directory name: C:\Program
Files\MATLAB\R2012a\toolbox\sldv\sldv.
> In restoredefaultpath at 47
Warning: Duplicate directory name: C:\Program
Files\MATLAB\R2012a\toolbox\shared\hdlshared.
> In restoredefaultpath at 47
Warning: Duplicate directory name: C:\Program
Files\MATLAB\R2012a\toolbox\sldv\sldv.
> In restoredefaultpath at 47
>>restoredefaultpath;
matlabrc
status = savepath('<path to your Desktop>/pathdef.m')
Warning: Duplicate directory name: C:\Program
Files\MATLAB\R2012a\toolbox\sldv\sldv.
> In restoredefaultpath at 47
Warning: Duplicate directory name: C:\Program
Files\MATLAB\R2012a\toolbox\shared\hdlshared.
> In restoredefaultpath at 47
Warning: Duplicate directory name: C:\Program
Files\MATLAB\R2012a\toolbox\sldv\sldv.
> In restoredefaultpath at 47
status =
1

Respuesta aceptada

Friedrich
Friedrich el 27 de Mayo de 2013
Editada: Friedrich el 27 de Mayo de 2013
Him
when you google for the first line of the error you get:
You followed it which is good. The warning about the duplicate entry can be ignored (its a known problem).
So make sure you pathdef.m file exists and has the expected content. How to do this is explained in the link above.

Más respuestas (1)

KHOULOUD SAMMADI
KHOULOUD SAMMADI el 26 de Feb. de 2018
Undefined variable "matlab" or function "matlab.internal.toolboxes.addInstalledToolboxesToPath". 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\MATLAB Production Server\R2015a\toolbox\local
How can i resolve this issue ??
  2 comentarios
Steven Lord
Steven Lord el 26 de Feb. de 2018
What happened when you tried the suggestion given in the error message you quoted?
 
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.
KHOULOUD SAMMADI
KHOULOUD SAMMADI el 26 de Feb. de 2018
Editada: KHOULOUD SAMMADI el 26 de Feb. de 2018
I did all the steps but, but it is not working, i have the same warning message :(

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by