use .jar class in matlab

2 次查看(过去 30 天)
arnaud ensberg
arnaud ensberg 2015-4-8
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