programatically dock and undock the editor

8 次查看(过去 30 天)
Is is possible to programatically dock and undock the editor?
I am using MATLAB 2016b.

回答(1 个)

Yair Altman
Yair Altman 2017-9-29
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.

类别

Help CenterFile Exchange 中查找有关 Environment and Settings 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by