Error when starting the Matlab R2015a
조회 수: 4 (최근 30일)
이전 댓글 표시
Hi there,
I got this error when opening Matlab!! I do not know what to do? all functions don't response to me!!
Can you help me to solve this issue, please? I attached a copy of the error message.
Regards,
Yasser

Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2015a.app\toolbox\wavelet\wavedemo
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2015a.app\toolbox\matlab\webcam
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2015a.app\toolbox\matlab\external\interfaces\webservices\restful
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2015a.app\toolbox\matlab\external\interfaces
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2015a.app\toolbox\matlab\external\interfaces\webservices
Warning: Name is nonexistent or not a directory: /Applications/MATLAB_R2015a.app\toolbox\matlab\external\interfaces\webservices\wsdl
Undefined function or variable 'ispc'.
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 118)
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 145)
In matlabrc (line 148)
Warning: Failed to add default profiler filters.
> In matlabrc (line 157)
Academic License
_Undefined function or variable 'usejava'.
Error in matlabrc (line 187)
if ~(ismcc || isdeployed || feature('isdmlworker')) && usejava('jvm')
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException_
at com.mathworks.mlwidgets.graphics.ModelStateFactory.createNoSelectionModelState(ModelStateFactory.java:251)
at com.mathworks.mlwidgets.graphics.PlotToolSetFactory$3.parseComplete(PlotToolSetFactory.java:123)
at com.mathworks.mlwidgets.graphics.ModelStateFactory$ProductInfoListener$1$1.run(ModelStateFactory.java:1032)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
댓글 수: 0
채택된 답변
Hannes Daepp
2017년 2월 14일
Hi Yasser -- it looks like you may be encountering the issue described in this MATLAB Answers post:
Please refer to that post for solutions and next steps.
댓글 수: 2
Walter Roberson
2017년 2월 14일
Possibly. But notice that they are using a mac but the paths being attempted use \ . Perhaps somehow a Windows startup or pathdef is being used on the Mac
추가 답변 (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!