Java Builder - figure redraw
Show older comments
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.
Answers (0)
Categories
Find more on Get Started with MATLAB Compiler SDK in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!