Running existing java-based GUI in matlab

4 ビュー (過去 30 日間)
Jacinto Sa
Jacinto Sa 2015 年 12 月 14 日
コメント済み: Jacinto Sa 2016 年 1 月 5 日
Dear All, I've a java-based GUI (JFEFF: http://feffproject.org/feffproject-feff.html) contains a few parameters that we optimize with matlab using a genetic algorithm. Currently we have to run both of matlab and JFEFF GUI simultaneously, instead of desired run the java-application inside of matlab. This would allow us to reduce significantly the time associated with each optimisation, improve calculations stability, and enables us to use the PCs in conjunction with optimisation. Does anybody has some suggestion in how to do this? All the best Jacinto

回答 (1 件)

Shruti Sapre
Shruti Sapre 2015 年 12 月 16 日
Hi Jacinto,
I understand that wish to call the Java GUI from within MATLAB. You could build the GUI into a jar and call the constructor or a method from within MATLAB. You could also add the Java class files to the MATLAB classpath and call the required methods:
The below links may be useful in providing examples for this approach:
Hope this helps!
-Shruti
  1 件のコメント
Jacinto Sa
Jacinto Sa 2016 年 1 月 5 日
thank you very much

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeProblem-Based Optimization Setup についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by