Docking a figure in application
22 views (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/157894/image.png)
Good morning, i am trying to compile my .exe file using matlab compiler 6.3 (2016b). in my GUI i was used to dock several data in different figures with subtab (see picture), but when i compile the app, the docking is lost. I tried reading on internet to put the DockControl 'on' for my hfig but it doesn't work.
Do you have any solution? Thank you so much
0 Comments
Answers (3)
Yair Altman
on 27 Oct 2022
The ability to dock figures in deployed programs is available, but is intentionally blocked by the Matlab compiler. I think this limitation is regrettable, unnecessary, and completely self-defeating for MathWorks, but over the past decade I was not successful in convincing them to the contrary.
Luckily, there are several technical workarounds that do not require extensive recoding using tabs, which is the official "solution" offered for the limitation.
I will not post any workarounds publicly, but anyone with a legitimate business need to dock figures in compiled (deployed) applications is welcome to email me (altmany at gmail).
0 Comments
Jan
on 10 Nov 2016
I find a bunch of links when I search in the net for "Matlab docked figures in compiled", e.g.:
Marinna
on 2 Mar 2018
I found this: https://www.mathworks.com/matlabcentral/answers/171447-how-in-a-program-to-dock-figures-side-by-side
0 Comments
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!