When I am starting the MATLAB I am getting the following error for MATLAB 7.4.0(R2007a) version.
조회 수: 6 (최근 30일)
이전 댓글 표시
I have already re-installed my MATLAB setup, and also tried the following commands, but this error still persists.
restoredefaultpath;
matlabrc
status = savepath('<path to your Desktop>/pathdef.m')
The erroe log is:-
Error: File: pathdef.m Line: 17 Column: 3
Unexpected MATLAB operator.
Warning: MATLAB did not appear to successfully set the search path. To avoid this
warning the next time you start MATLAB, use
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/pathdef.shtml
to help troubleshoot the "pathdef.m" file. To recover for this session
of MATLAB, type "restoredefaultpath;matlabrc".
Warning: Duplicate directory name: C:\Program Files (x86)\MATLAB\R2007a\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:UndefinedFunction
Undefined function or method 'colordef' for input arguments of type 'double'.
> In matlabrc at 108
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 or method 'usejava' for input arguments of type 'char'.
> In matlabrc at 133
??? Undefined function or variable 'ispc'.
Error in ==> reporterrorlogs>isComputeServer at 337
if ispc
Error in ==> reporterrorlogs at 14
if isdeployed || ~isInteractive || isComputeServer || ~isJavaAvailable || ~getCheckForLogFiles
Error in ==> matlabrc at 269
reporterrorlogs
댓글 수: 8
Walter Roberson
2012년 8월 16일
Yes. And it should end with
%%%END ENTRIES %%%
...
];
p = [userpath,p];
답변 (0개)
참고 항목
카테고리
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!