missing pathdef.m when starting MATLAB 7.14 (R2012a), new warning
조회 수: 4 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
Friedrich
2013년 5월 27일
편집: Friedrich
2013년 5월 27일
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.
댓글 수: 0
추가 답변 (1개)
KHOULOUD SAMMADI
2018년 2월 26일
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
Steven Lord
2018년 2월 26일
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
2018년 2월 26일
편집: KHOULOUD SAMMADI
2018년 2월 26일
I did all the steps but, but it is not working, i have the same warning message :(
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!