Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Use Java Classes in Matlab

1 vue (au cours des 30 derniers jours)
Giorgos Papakonstantinou
Giorgos Papakonstantinou le 12 Nov 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by