Connection matlab and Java - how they are connected?

I am looking for a way to use matlab code in Java in order to create objects. Instead, writing a code itself in java, is there anyway that java can use matlab source? How to create a java packeage from matlab source? What is matlab builder JA?

Risposte (1)

Java Builder is now incorporated in MATLAB Compiler SDK; see http://www.mathworks.com/products/matlab-compiler-sdk/ . It is a product that allows you to build standalone Java packages that use the MATLAB engine.
To call MATLAB from Java on a system that has MATLAB available to call, see also http://undocumentedmatlab.com/blog/jmi-wrapper-remote-matlabcontrol

2 Commenti

Can you bring an example? Assume, that we have a simplest Matlab code for plotting x vs y, how should bring that in Java in order to create a GUI( graphical user interface) for this plot.

Accedi per commentare.

Categorie

Richiesto:

il 20 Lug 2015

Commentato:

il 22 Lug 2015

Community Treasure Hunt

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

Start Hunting!

Translated by