Java Builder - figure redraw

Hello, I have encountered a small issue with one of my JAR files generated by Java Builder: The function computes some iteration, opens a figure and plots the residue chart. Under the chart is a text field, where the current residue is diplayed via
set(handles.text, residue);
drawnow;
The code works in Matlab and works also as a stand-alone mcc compiled application.
However, when I generate the JAR file by the Java Builder and use the function, the chart is updated, but the residue is not displayed at all. If I resize the figure, the residue text field appears and updates properly.
Thank you for any help.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Get Started with MATLAB Compiler SDK에 대해 자세히 알아보기

질문:

2012년 3월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by