When I am starting the MATLAB I am getting the following error for MATLAB 7.4.0(R2007a) version.
2 views (last 30 days)
Show older comments
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 Comments
Walter Roberson
on 16 Aug 2012
Yes. And it should end with
%%%END ENTRIES %%%
...
];
p = [userpath,p];
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!