Use Java Classes in Matlab

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.

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Preguntada:

el 12 de Nov. de 2013

Cerrada:

el 20 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by