Java Interface with Matlab

I am currently using JA builder to interface matlab and java. In this i am able to access arithmetic functions. I want to plot the values in Matlab and display the plotted graph in Java GUI and not in Matlab GUI. Is this possible in JA builder ?

回答 (1 件)

Friedrich
Friedrich 2011 年 8 月 3 日

0 投票

Hi,
this needs some rewrite of your ML and JAVA code. You have to use the figtoimstream function:
This will tream out a figure "snapshot" as byte array encoded in format specified. You convert this byte array into an image format which can be displayed in JAVA.

1 件のコメント

Nagarajan Ramaswamy
Nagarajan Ramaswamy 2011 年 8 月 4 日
Thanks Friedrich . I will try this

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

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2011 年 8 月 3 日

Community Treasure Hunt

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

Start Hunting!

Translated by