Building a jar file in Matlab
이전 댓글 표시
I'm wondering if there is a way in Matlab to automate process of creating a Jar file from a Matlab binary.
Thanks in advance for your answer, A
댓글 수: 2
Kaustubha Govind
2012년 1월 24일
Could you please explain what you mean by "MATLAB binary"? Did you mean a regular MATLAB (.m) file?
Ali
2012년 1월 25일
답변 (3개)
Titus Edelhofer
2012년 1월 25일
0 개 추천
Hi Ali,
just to make sure: you have an .exe compiled from MATLAB file and want to create a jar file from it? That's not possible. In Java you can call the .exe as an external process though.
To create a jar file in the sense of Builder JA (for Java) you will need to have the source code (.m file).
Titus
Ali
2012년 1월 25일
0 개 추천
댓글 수: 1
Titus Edelhofer
2012년 1월 25일
O.K., I understand. Then I guess the following is possible: you might write a simple .java file which contains only a few lines running the MATLAB code compiled into the jar file. Take any example from the doc for Builder JA ("Sample Java Applications").
This is not automatically done for you by MATLAB but should be not too difficult. Compile this .java file and you can run it on your Linux box.
Titus
카테고리
도움말 센터 및 File Exchange에서 Get Started with MATLAB Compiler SDK에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!