MATLAB Answers

Why is it no longer possible to dock figures generated by a compiled application created with MATLAB Compiler 4.8 (R2008a)?

8 views (last 30 days)
My standalone application generates multiple plots and I would like to dock all the figures generated into a single window.
It was possible to group figures using the 'WindowStyle' property, compiling my application in MATLAB R2006b to R2007b:
figure('WindowStyle','docked');
However since MATLAB R2008a this does not work anymore, since the compiled application produces a new figure window for every figure.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 1 Jun 2010
The ability to do dock figures is not available in applications compiled with MATLAB Compiler.
As a workaround for this issue, you can come up with a "Figures" window which can contain multiple docked figure windows with the ability of tabbing between figures and then, compile such application.
For more information, refer the attached example.
  1 Comment
Brian Cody
Brian Cody on 25 Sep 2018
If you are interested in the approach described by this answer, I would strongly recommend using the documented uitabgroup/uitab objects.

Sign in to comment.

More Answers (0)

Products


Release

R2008a

Community Treasure Hunt

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

Start Hunting!