Wednesday 21 August 2013

Open matlab figure on Java Swing button click

Open matlab figure on Java Swing button click

I would like to, if it is possible, to open MATLAB figure, generated in
MATLAB function, on JButton click. (Maybe to add it to a JFrame or
something like that.)
So far I done these steps: 1) in MATLAB: create m-file, add it to a java
package project, build it with MATLAB Builder JA; 2) in Eclipse: create
new project, import files, create GUI and on button click call matlab
function to do all necessary calculation...and with setText write results
in textFileds...
..but how can I show figures on button click? Is it possible at all?
Thank you...

No comments:

Post a Comment