Docking a figure in application

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

답변 (3개)

Yair Altman
Yair Altman 2022년 10월 27일

1 개 추천

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).
Jan
Jan 2016년 11월 10일

0 개 추천

댓글 수: 2

Luigi Bruno
Luigi Bruno 2016년 11월 10일
I already try the 2 ways of the first link and they don't work. i still get undocked figure when i launch my exe. Using the java script it seems that the new matlab has a fHG2Client. Even if i try to change fHG1Client in fGH1Client it doesnt work... :(
Luigi Bruno
Luigi Bruno 2016년 11월 10일
PS thank you the same!

댓글을 달려면 로그인하십시오.

Marinna
Marinna 2018년 3월 2일

0 개 추천

I found this: https://www.mathworks.com/matlabcentral/answers/171447-how-in-a-program-to-dock-figures-side-by-side

카테고리

도움말 센터File Exchange에서 Application Deployment에 대해 자세히 알아보기

질문:

2016년 11월 10일

답변:

2022년 10월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by