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 Center および File ExchangeCall Java from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by