One can easily use the Position
property to place a uifigure
in the specified location of the screen. E.g., fig = uifigure('Position',[1,1,300,300]);
. Is there any way to place it immediately on the center of screen.
There is a movegui
command which is helpful for this task. However, it does this work in two steps (first, displays the figure, then moves it). This results in a not smooth experience for the user.