Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Use Java Classes in Matlab

1 Ansicht (letzte 30 Tage)
Giorgos Papakonstantinou
Giorgos Papakonstantinou am 12 Nov. 2013
Geschlossen: MATLAB Answer Bot am 20 Aug. 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.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by