Is there a way to manipulate the Font that is displayed in the Command Window?

3 Ansichten (letzte 30 Tage)
Title says it all.
Thanks in advance, George
  2 Kommentare
George
George am 2 Jul. 2015
Instead of having fprintf output a line of black text, is there a way to get it to output like a different color text or text with a colored background so its different from the other disp outputs in the command window?
Brendan Hamm
Brendan Hamm am 2 Jul. 2015
There is currently no support to change the color of the displayed text in the command window.

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Brendan Hamm
Brendan Hamm am 2 Jul. 2015
In MATLAB under the HOME tab, select preferences -> Fonts
This will give you the option you need.

Weitere Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 2 Jul. 2015
Type
preferences
then choose font- custum - Command Windows and change the font
  1 Kommentar
George
George am 2 Jul. 2015
Oh yes, I knew that. I meant if I was running a function for a long time and its displaying a line on the command window every say 5 seconds, I wanted to change some text to display in command window in red rather than black, just so it'll jump out at the user.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Entering Commands finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by