Clear Filters
Clear Filters

programatically dock and undock the editor

4 views (last 30 days)
Burke Rosen
Burke Rosen on 16 Feb 2017
Answered: Yair Altman on 29 Sep 2017
Is is possible to programatically dock and undock the editor?
I am using MATLAB 2016b.

Answers (1)

Yair Altman
Yair Altman on 29 Sep 2017
You can programmatically dock/undock editor files as follows:
com.mathworks.mde.desk.MLDesktop.getInstance.setClientDocked(fullfilename, true); % docked
com.mathworks.mde.desk.MLDesktop.getInstance.setClientDocked(fullfilename, false); % undocked
I am not familiar with a programmatic way to dock the entire editor window.

Categories

Find more on Interactive Control and Callbacks 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!