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.

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB Compiler SDK dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by