"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 comentario

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.

Iniciar sesión para comentar.

 Respuesta aceptada

Suhas Maddi
Suhas Maddi el 18 de Jun. de 2020
Editada: per isakson el 18 de Jun. de 2020
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 comentarios

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 el 17 de En. de 2022
Editada: Leo500 el 17 de En. de 2022
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!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre File Operations en Centro de ayuda y File Exchange.

Productos

Versión

R2019b

Etiquetas

Preguntada:

el 16 de Jun. de 2020

Comentada:

el 24 de Mzo. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by