필터 지우기
필터 지우기

Javaaddpath Matlab r2013a problem

조회 수: 1 (최근 30일)
nedo nodo
nedo nodo 2013년 5월 13일
답변: Tristan McRae 2018년 12월 12일
Hi all,
I have a problem with javaaddpath command. If I launch a script inside a GUI of Matlab it work well, otherwise if I launch from command line it does not work and I get the following error:
Undefined variable "com" or class
"com.mathworks.jmi.ClassLoaderManager.getClassLoaderManager".
Error in javaclasspath>local_javapath (line 132)
jloader = com.mathworks.jmi.ClassLoaderManager.getClassLoaderManager;
Error in javaclasspath (line 68)
p = local_javapath('-dynamic');
Error in javaaddpath (line 69)
javaclasspath( javaclasspath, p );
Error in script (line 6)
javaaddpath('path','-end')
I have searched on the web for answer without success. Thank you in advance
  댓글 수: 2
Hugh Roarty
Hugh Roarty 2015년 8월 26일
I got the same error. Did you ever resolve this?
Hugh Roarty
Hugh Roarty 2015년 8월 26일
Most likely you started MATLAB with the -nojvm option. Try it with the -nodesktop option instead.

댓글을 달려면 로그인하십시오.

답변 (1개)

Tristan McRae
Tristan McRae 2018년 12월 12일
The above comment "Most likely you started MATLAB with the -nojvm option. Try it with the -nodesktop option instead." by Hugh Roarty worked for me.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by