MATLAB Community

MATLAB, community & more

Split Screen mode in the Editor

A common need when writing a large M-file is to be able to view two parts of the file simultaneously. For example, perhaps you are calling a subfunction from the main body of your code, and you need to see the order of arguments.

You can split your Editor window into two sections, either vertically or horizontally, and then navigate independently in the file’s two views. To accomplish this, use either the Split Screen submenu off of the Editor’s Window menu (or context menu), or click on the little grey rectangles next to the scrollbars.


If you are using Emacs keybindings, keybinding shortcuts can also be used to switch between the different Split Screen modes.

When you are done with the second view of the file, just drag the divider to the edge of the file container and it will disappear!


  • print


要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。