programatically dock and undock the editor

Is is possible to programatically dock and undock the editor?
I am using MATLAB 2016b.

Risposte (1)

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.

Prodotti

Richiesto:

il 16 Feb 2017

Risposto:

il 29 Set 2017

Community Treasure Hunt

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

Start Hunting!

Translated by