how do i view two separate m files in split screen mode.
Afficher commentaires plus anciens
how do i view two separate m files in split screen mode. I have two separate m files that I want to scroll line by line to see the difference, how do i do this in split screen mode
Réponse acceptée
Plus de réponses (2)
dmitry luchinskii
le 2 Avr 2019
2 votes
- open bith files in the editor
- pick and drag one of the file names in the editor to the side or to rhe bottom
1 commentaire
Stephen Leung
le 2 Avr 2019
Stephen
le 13 Août 2025
0 votes
when i split the screen my original file appears in both panes. how do I load a second program in the second pane?
4 commentaires
DGM
le 13 Août 2025
Like Walter mentioned, use the "Tiles" section, not the "Split Document" section.

Steven Lord
le 13 Août 2025
Do you want to view two parts of the same document? If so the Split Document section of the View tab of the Toolstrip is the right tool to use.
Or do you want to view two separate documents side-by-side? In this case, click and hold down the mouse button on the tab with the name of one of the files you want to move and drag it around the screen. You should see a blue overlay with where the document would be located if you were to release the button. If you drag it to the other side of the Editor you can show the documents side-by-side. Release the button when the document is where you want it to be displayed.
To reverse the process, click the dot between the two documents (which should turn into an X if you hover over it) or drag the document again until the blue overlay covers the entire area of the other document(s) you have open.
Stephen
le 13 Août 2025
You are discussing the situation prior to matlab2025; The menu is different now.
Steven Lord
le 13 Août 2025
Yes, the screen shot DGM posted is from an older release. I opened release R2025a, then edited two documents in the Editor and clicked on the View tab in the toolstrip when one of the documents is active. It has the "SPLIT DOCUMENT" section but not the "TILES" section.
I checked and the drag-and-drop workflow I described still works.
Catégories
En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!