setting text/background colors of command window to be different from editor?

16 views (last 30 days)
MATLAB R2010b (7.11.0.584, OSX 10.6.7)) allows users to set the text and background color of the command window and editor. But, as far as I can see, the preferences pane does not allow one to set the text/color combination of the editor to be different from that of the command window.
For example, I would like to set the background of the command window to black, and the background of the editor to dark green. Doing this will make it immediately clear which window I'm writing in at any given moment (helpful when repeatedly switching back and forth between editor and command window, such as when testing a new script or function).
Is it possible to use a text/color combination for the editor, that is separate from that of command window? How?
Thanks, Mike

Answers (1)

Shuba Nandini
Shuba Nandini on 14 Nov 2024 at 6:55
Hi Mike,
It is my understanding that you want to set different text and background color for the Command Window and Editor. However, MATLAB does not currently support setting different text and background colors for different panels individually.
Although, you can customize the text and background colour for all panels using the following steps:
  • Go the 'Colors' section in the 'Preference Panel'.
  • Disable the default option 'Use System colors' in the Java desktop.
  • Customize the Text and Background color as needed.
Hope this helps!

Categories

Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!