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 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by