Info

此问题已关闭。 请重新打开它进行编辑或回答。

Use Java Classes in Matlab

1 次查看(过去 30 天)
Giorgos Papakonstantinou
关闭: MATLAB Answer Bot 2021-8-20
I have created a small Java CelsiusConverter GUI as described in http://docs.oracle.com/javase/tutorial/uiswing/learn/creatinggui.html. I would like to use the java classes contained in the compiled jar file in Matlab and view the gui through Matlab.
To do this I have added into the dynamic path the jar file
>> javaclasspath('-dynamic')
DYNAMIC JAVA PATH
C:\Users\user\Documents\MATLAB\Add JaVA classes\CelsiusConverterProject.jar
Furthermore, I have compiled the project in Netbeans using JDK 1.6.
Finally, I have attached the jar file that I have created.
Thank you very much in advance.

回答(0 个)

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by