I have multiple monitors attached to my laptop. Whenever I want to create a new figure in MatLab, the main screen seems to flash once and the figure is nowhere to find.
The reason is the DefaultFigurePosition property. If you run
get(0,'DefaultFigurePosition')
You probably will find the values are out of your screen, and that’s exactly the reason. For example, on my computer the first value (left) is negative, and 2nd value (bottom) is too large.
The solution is to use the following command
set(0,'defaultfigureposition',[680 278 560 420])
You don’t want to manually run the above command everytime you run MatLab. So you can put the command to the startup.m file, which is located in \toolbox\local\startup.m