{"id":48,"date":"2007-04-20T12:10:38","date_gmt":"2007-04-20T17:10:38","guid":{"rendered":"https:\/\/blogs.mathworks.com\/desktop\/2007\/04\/20\/split-screen-mode-in-the-editor\/"},"modified":"2007-05-03T15:35:55","modified_gmt":"2007-05-03T20:35:55","slug":"split-screen-mode-in-the-editor","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/community\/2007\/04\/20\/split-screen-mode-in-the-editor\/","title":{"rendered":"Split Screen mode in the Editor"},"content":{"rendered":"<p>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.<\/p>\n<p>You can split your Editor window into two sections, either vertically or horizontally, and then navigate independently in the file&#8217;s two views.  To accomplish this, use either the Split Screen submenu off of the Editor&#8217;s Window menu (or context menu), or click on the little grey rectangles next to the scrollbars.<\/p>\n<p><a href=\"https:\/\/blogs.mathworks.com\/community\/..\/images\/desktop\/SplitScreenBefore.png\"><img decoding=\"async\" id=\"image53\" src=\"https:\/\/blogs.mathworks.com\/community\/..\/images\/desktop\/SplitScreenBefore_sm.png\" alt=\"SplitScreenBefore.png\" \/><\/a><\/p>\n<p>If you are using Emacs keybindings, keybinding shortcuts can also be used to switch between the different Split Screen modes.<\/p>\n<p>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!<\/p>\n<p><a href=\"https:\/\/blogs.mathworks.com\/community\/..\/images\/desktop\/SplitScreenAfter.png\"><img decoding=\"async\" id=\"image53\" src=\"https:\/\/blogs.mathworks.com\/community\/..\/images\/desktop\/SplitScreenAfter_sm.png\" alt=\"SplitScreenAfter.png\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230; <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/community\/2007\/04\/20\/split-screen-mode-in-the-editor\/\">read more >><\/a><\/p>\n","protected":false},"author":49,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/48"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/users\/49"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/comments?post=48"}],"version-history":[{"count":0,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/posts\/48\/revisions"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/media?parent=48"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/categories?post=48"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/community\/wp-json\/wp\/v2\/tags?post=48"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}