What is the solution ?

4 vues (au cours des 30 derniers jours)
Tibor Matei
Tibor Matei le 18 Fév 2014
Réponse apportée : Muskan le 30 Oct 2024 à 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

Réponses (1)

Muskan
Muskan le 30 Oct 2024 à 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!

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by