how do i view two separate m files in split screen mode.
45 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Stephen Leung
il 5 Giu 2018
Commentato: Steven Lord
il 13 Ago 2025
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
0 Commenti
Risposta accettata
Walter Roberson
il 5 Giu 2018
In the editor, click on View on the top ribbon. There will be a Split Document section: click on Left/right. Click back on Editor on the top ribbon and open one of the files. Click on the other plane to activate it and then you can open a different file there.
If the purpose is comparison of files, you might want to consider a different approach. In the editor when the Editor ribbon (the default one) is active, just to the right of the Save icon there is "Compare". Click on "Save and Compare with" to get to a screen that allows you to select two files. When you activate, then a file "diff" operation will be done, showing you the differences between the files.
0 Commenti
Più risposte (2)
dmitry luchinskii
il 2 Apr 2019
- open bith files in the editor
- pick and drag one of the file names in the editor to the side or to rhe bottom
Stephen
il 13 Ago 2025
when i split the screen my original file appears in both panes. how do I load a second program in the second pane?
4 Commenti
Stephen
il 13 Ago 2025
You are discussing the situation prior to matlab2025; The menu is different now.
Steven Lord
il 13 Ago 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.
Vedere anche
Categorie
Scopri di più su Environment and Settings in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!