Dock the command window in app designer
69 views (last 30 days)
Show older comments
Kris Hoffman on 25 Jan 2021
Answered: Shubham Rawat on 2 Feb 2021
Why can't I dock the command window in the app designer? Right now to have proper access to my app and all debugging I literally need 3 screens. 1 for app designer, 1 for the app itself, and 1 for the command window/workspace.
OR. Why can't the app designer have its own command window?
Adam Danz on 25 Jan 2021
Edited: Adam Danz on 25 Jan 2021
UIFigures contain the DockControls and WindowStyle properties which are needed to dock figures but changing their property values is not supported as of r2020b. But since those properties exist, that might indicate that they will be supported in the future which will be 1 less window for you.
The future solution that doesn't work now would be
app.UIFigure.DockControls = 'on'; % not supported as of r2020b
app.UIFigure.WindowStyle = 'docked'; % not supported as of r2020b
Shubham Rawat on 2 Feb 2021
Currently this feature is not available in the latest version of MATLAB. This issues is brought to the notice of the developer and it might be considered in future releases of MATLAB.
As a workaround you can refer to the below links
Hope this Helps!
Find more on Develop uifigure-Based Apps 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!