how do i view two separate m files in split screen mode.

52 ビュー (過去 30 日間)
Stephen Leung
Stephen Leung 2018 年 6 月 5 日
コメント済み: Stephen Leung 2019 年 4 月 2 日
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

採用された回答

Walter Roberson
Walter Roberson 2018 年 6 月 5 日
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.

その他の回答 (1 件)

dmitry luchinskii
dmitry luchinskii 2019 年 4 月 2 日
  1. open bith files in the editor
  2. pick and drag one of the file names in the editor to the side or to rhe bottom
  1 件のコメント
Stephen Leung
Stephen Leung 2019 年 4 月 2 日
Dmitry,
Thanks, but how do i reverse the action to merge it back as a tab after I am done? I found using MATLAB, it is easy to do something, but there is no 'back' button, once you do something, there is no easy way to revert back to a previous stage
Steve

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by