What is the solution ?
조회 수: 7 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
Naga
2025년 1월 28일 8:09
It sounds like you're dealing with an error that might be linked to a recent Windows Defender update, which could be interfering with MATLAB's connection to its Java installation. A clean installation of MATLAB often resolves this issue, and it's worth giving it a try.
For more detailed guidance, you might want to check out this MATLAB Answer attached below, that provides additional insights and steps you can follow. If you need any help during the process, feel free to reach out.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!