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

조회 수: 17 (최근 30일)
Title says it all.
Thanks in advance, George
  댓글 수: 2
George
George 2015년 7월 2일
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 2015년 7월 2일
There is currently no support to change the color of the displayed text in the command window.

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

채택된 답변

Brendan Hamm
Brendan Hamm 2015년 7월 2일
In MATLAB under the HOME tab, select preferences -> Fonts
This will give you the option you need.

추가 답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2015년 7월 2일
Type
preferences
then choose font- custum - Command Windows and change the font
  댓글 수: 1
George
George 2015년 7월 2일
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.

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

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by