Last active
September 23, 2015 14:17
-
-
Save stefanschmidt/aed055809189bc85800e to your computer and use it in GitHub Desktop.
Workaround for graphical glitch in tab bar of Matlab 2014b on iMac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% see also: http://undocumentedmatlab.com/blog/setting-the-matlab-desktop-layout-programmatically | |
if not(isdeployed) && usejava('jvm') && feature('ShowFigureWindows') | |
desktop = com.mathworks.mde.desk.MLDesktop.getInstance; | |
pause(0.7) % wait for gui to load | |
desktop.restoreLayout('foobar'); | |
clear desktop | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment