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

16 ビュー (過去 30 日間)
Michael Fuller
Michael Fuller 2011 年 3 月 30 日
回答済み: Shuba Nandini 2024 年 11 月 14 日 6:55
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

回答 (1 件)

Shuba Nandini
Shuba Nandini 2024 年 11 月 14 日 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!

カテゴリ

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