Java GUI and Matlab Functionality

13 visualizaciones (últimos 30 días)
Susan
Susan el 22 de Jul. de 2011
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 23 de Jul. de 2011
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.

Más respuestas (1)

Yair Altman
Yair Altman el 7 de Ag. de 2011
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.

Categorías

Más información sobre Call Java from MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by