What is the solution ?

4 Ansichten (letzte 30 Tage)
Tibor Matei
Tibor Matei am 18 Feb. 2014
Beantwortet: Muskan am 30 Okt. 2024 um 7:28
When I start the matlab write this message and not running any programs !
Toolbox Path Cache read in 0.20 seconds.
Attempt to execute SCRIPT pathdef as a function:
D:\Program Files\MATLAB\R2011a\toolbox\local\pathdef.m
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: D:\Program
Files\MATLAB\R2011a\toolbox\local.
MATLAB Path initialized in 0.00 seconds.
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 variable 'ispc'.
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 123
Warning: Failed to add default profiler filters.
> In matlabrc at 179

Antworten (1)

Muskan
Muskan am 30 Okt. 2024 um 7:28
Hi,
As per my understanding of the error message, this error may be related to a recent Windows defender update that prevents MATLAB from connecting to the Java installation. Performing a clean install of MATLAB has been known to fix this issue. Please refer the following MATLAB Answer for more information: https://www.mathworks.com/matlabcentral/answers/131519-how-do-i-perform-a-clean-installation-of-matlab
I hope this helps!

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by