Matlab JA builder, run Matlab code from Java application

1 回表示 (過去 30 日間)
Rebecca
Rebecca 2011 年 1 月 25 日
コメント済み: Soumadeep De 2020 年 1 月 2 日
I have written an application in Matlab and compiled it into Java code using the JA builder. I'm really stuck from here as to how to integrate it into my application. How do I handle data type conversion, call the functions, etc.
The algorithm that I wrote in Matlab is for image processing, how can I pass a java buffered image to that function?

回答 (2 件)

Sebastian
Sebastian 2011 年 1 月 27 日
The MATLAB Builder JA documentation contains a few examples on how generate a compoinent from MATLAB code as well as how to integrate it with a Java application. Does this help as a starter? Please see the "Sample Java Applications" section in the documentation: http://www.mathworks.com/access/helpdesk/help/toolbox/javabuilder/ug/bqp8c4j-1.html
The "Working with MATLAB Figure and Image Data" paragraph in the doc covers getting a buffered image in a component: http://www.mathworks.com/access/helpdesk/help/toolbox/javabuilder/ug/br5tjlt-1.html

muhammad  aiman
muhammad aiman 2015 年 11 月 7 日
hye sir. how to u open the builder ja in matlab?
  1 件のコメント
Soumadeep De
Soumadeep De 2020 年 1 月 2 日
Type deploytool in command window

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeJava Package Integration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by