use .jar class in matlab

2 views (last 30 days)
arnaud ensberg
arnaud ensberg on 8 Apr 2015
Answered: Henry Adams on 23 Jun 2017
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

Answers (1)

Henry Adams
Henry Adams on 23 Jun 2017
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

Community Treasure Hunt

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

Start Hunting!