Java GUI and Matlab Functionality

조회 수: 13 (최근 30일)
Susan
Susan 2011년 7월 22일
Hey all,
Just a quick question is it possible to use Matlab to do the functionality and use Java for GUI (Graphical User Interface) and add the Matlab functionality componenets to that GUI? Or is it not allowed and one should use Matlab GUI to make it work?
Thanks.

채택된 답변

Walter Roberson
Walter Roberson 2011년 7월 23일
That arrangement can be used to do computation, but it could be tricky if you are wanting to use any MATLAB graphical object. I could also foresee problems if you wanted the Java GUI layer to interact with MATLAB's callback facilities.

추가 답변 (1개)

Yair Altman
Yair Altman 2011년 8월 7일
This is indeed possible. There are numerous examples of doing so in the UndocumentedMatlab.com website (including callbacks). Java GUI is far more powerful and can look far more professional than a pure-Matlab GUI.

카테고리

Help CenterFile Exchange에서 Call Java from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by