use .jar class in matlab

조회 수: 3 (최근 30일)
arnaud ensberg
arnaud ensberg 2015년 4월 8일
답변: Henry Adams 2017년 6월 23일
hello I am beginner;
I use a toolbox javaplex , I want to initialize a class from the .jar file of this toolbox.
I followed the instructions, on this topic http://www.mathworks.com/matlabcentral/answers/96993-how-can-i-use-a-java-class-from-a-jar-file-in-matlab I added the javaaddpath and I check with javaclasspath the jar was added to DYNAMIC JAVA PATH but i have this error message
if true
% code??? Undefined variable "javaplex" or class "javaplex.main".
end

답변 (1개)

Henry Adams
Henry Adams 2017년 6월 23일
Hi Arnaud,
Have you seen the Javaplex tutorial, available at
or also from the Javaplex webiste
? Start with the Javaplex tutorial. If you have follow-up questions, feel free to email me. You can find me from my webpage (I am not associated with Matlab so do not see these boards):
Best, Henry

카테고리

Help CenterFile Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by