Code to change matlab window size?

I know how to position a figure window and change its size, but is it possible to change the size and position of the actual matlab application window with code? I would like to do the equivalent of snapping a window to half the screen like that done within winodws OS. This would be done at the start of a script so a user could see both the figure and command window while interacting with the running script.
Thanks for any suggestions

回答(2 个)

Stephen23
Stephen23 2015-12-31
A much easier alternative would be to dock the figure, which places it within the main MATLAB window and thus makes everything visible at once:

类别

帮助中心File Exchange 中查找有关 Entering Commands 的更多信息

提问:

2015-12-31

回答:

Jan
2017-9-17

Community Treasure Hunt

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

Start Hunting!

Translated by