Plot Example from Builder JA User's Guide not displayed

조회 수: 2 (최근 30일)
Theo
Theo 2012년 8월 5일
Hi,
i'm learning to work with MATLAB Builder JA and MATLAB Compiler Runtime, and so I worked through the examples from Builder JA User's Guide (<http://www.mathworks.de/help/pdf_doc/javabuilder/javabuilder.pdf>)
But whatever I try, I'm not able to make the Plot Example (PDF p. 158 et sqq.) work correctly. (This example is supposed to display a simple graph)
Executing the example makes a MATLAB Compiler Runtime window appear, but without displaying the plot in it. It's only a white box.
I tried to make it work in various ways: compiling and executing manually via cmd; embedding into an ECLIPSE project, but always the same result: MCR window without the plot.
I already tested the compiled example on different machines. One with MATLAB installed and one with only MCR. Both with ORACLE JDK, so there shouldn't be any Java incompatibilities. Everywhere the same result.
Does anybody know what I'm doing wrong?

채택된 답변

Theo
Theo 2012년 8월 8일
편집: Theo 2012년 8월 8일
Information for anyone else maybe confronted with the same problem: There are certain incompatibilities in JRE 7.
Make sure to use the same JRE as your MATLAB distribution (R2012a: JRE 6u17). At least for me now it works correctly.
  댓글 수: 1
Javi
Javi 2013년 4월 30일
I've the same problem. Is there any fix for this problem?. I mean, it's possible to use JRE 7 for running JA Builder generated code, and obtain the correct output for the graph?. My Matlab version is 2011a
Thanks in advance,
Javi

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by