"split document view" is grey and cannot be clicked on

I am trying to use "split document view" to view one single file top/bottow for comparision. But the tab is grey and I cannot click on it. How can I use it?
The "display two documents side-by-side or top/bottom" works fine.
Thank you very much!
Lingzhu

댓글 수: 1

I echo the need for the ability to show a single Livescript file with a split view, i.e. two windows that show different parts of the same file. Any file that's longer than a couple of pages is pretty hard to edit without sometimes looking at other parts.

댓글을 달려면 로그인하십시오.

 채택된 답변

Suhas Maddi
Suhas Maddi 2020년 6월 18일
편집: per isakson 2020년 6월 18일

0 개 추천

HI Lingzhu, I am assuming that are using the latest version of MATLAB i.e., R2020a. If I understand your problem correctly, You are trying to compare two files in a top/bottom view.
If you are trying to open same file in both the views , MATLAB won't allow you to do so . Else, you can duplicate your file and can open the original and duplicate files in two separate views or you can use compare option present in Home Tab of MATLAB to compare two different files.
I hope this helps.

댓글 수: 4

MATLAB should have the feature to be able to view the same file side-by-side so that two sections of the same file can be worked on. Other code editors can do this.
I'm using 2020a. It looks like the traditional MATLAB editor has the feature to split the view for a document in a single tab, but the feature has been dissabled for live editor. I added it to my MATLAB toolbar preferences (the bottom three checked boxes in the graphic). When my active tab is a traditional script, the split document features are available. When my active tab is a live script, the split document features are greyed out and not active. I think this is a huge problem for live scripts.
Leo500
Leo500 2022년 1월 17일
편집: Leo500 2022년 1월 17일
I agree with the previous two comments that the live editor should have a feature to split a single live script into two. R2021b does not have this feature. I use it all the time for .m files and is the main reason I don't use live scripts (.mlx files).
I also agree that the live editor should have the ability to do a split-screen view of a single live script. I suppose that there may be technical issues which make this hard, but I seriously doubt that it's impossible!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2020년 6월 16일

댓글:

2023년 3월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by