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 个评论

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by