Calling Java program from Matlab

How do I invoke Java program from Matlab?
Kindly provide the detailed steps to invoke a java program from Matlab.
1. To be precisely, I want to invoke http://algs4.cs.princeton.edu/55compression/Huffman.java.html from Matlab. 2. Can I pass Matlab variable as an argument to Java call? Kindly provide more details on this.
Note, I don’t have access to "Using Java Libraries from MATLAB" link.

 採用された回答

Geoff Hayes
Geoff Hayes 2014 年 5 月 22 日

1 投票

The following link provides a good starting point on instantiating Java classes in MATLAB: Bringing Java Classes into MATLAB Workspace. From it, you should be able to work with the Huffman class above.

1 件のコメント

Sunil
Sunil 2014 年 5 月 23 日
Thank you very much, Geoff.

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCall Java from MATLAB についてさらに検索

タグ

質問済み:

2014 年 5 月 22 日

コメント済み:

2014 年 5 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by