MATLAB Answers

Error matlab r2017b

13 views (last 30 days)
hey everyone, i can not use Matlab, next error appear in the start window
C:\Program Files\MATLAB\R2017b\toolbox\local\pathdef.m: Cannot open file: permission denied.
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: 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 (line 128)
Warning: Initializing MATLAB Graphics failed.
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 variable 'ismac'.
> In hgrc (line 163)
In matlabrc (line 134)
Warning: Failed to add default profiler filters.
> In matlabrc (line 143)
Undefined function or variable 'matlab.internal.environment.context.isMATLABOnline'.

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 2 Jul 2020
You do not have read access to C:\Program Files\MATLAB\R2017b\toolbox\local\pathdef.m and possibly to other MATLAB files as well.
If this is your personal machine, reinstall MATLAB.
If this is an instituational machine, complain to the systems administrator that you do not have read access to the MATLAB directories.

  1 Comment

Leidy Benavides Muñoz
Leidy Benavides Muñoz on 2 Jul 2020
Hey Walter! Thanks a lot, your answer help me a lot

Sign in to comment.

More Answers (0)


Translated by