Connection matlab and Java - how they are connected?

5 views (last 30 days)
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?

Answers (1)

Walter Roberson
Walter Roberson on 20 Jul 2015
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 Comments
Mohammad
Mohammad on 22 Jul 2015
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.

Sign in to comment.

Categories

Find more on Java Package Integration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!