Thread Subject:
Can one change the text color in the console?

Subject: Can one change the text color in the console?

From: Daniel Armyr

Date: 30 Apr, 2009 08:47:01

Message: 1 of 2

Hi.
Does anyone know if matlab supports the setting of color in the console window?

Subject: Can one change the text color in the console?

From: Yair Altman

Date: 13 May, 2009 18:58:01

Message: 2 of 2

"Daniel Armyr" <firstname@lastname.se> wrote in message <gtboi5$tk$1@fred.mathworks.com>...
> Hi.
> Does anyone know if matlab supports the setting of color in the console window?

Yes - it is possible although not officially supported (uses undocumented desktop functionality):
http://undocumentedmatlab.com/blog/cprintf-display-formatted-color-text-in-command-window/

Yair Altman
http://UndocumentedMatlab.com
 

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
console Yair Altman 13 May, 2009 14:59:06
desktop Yair Altman 13 May, 2009 14:59:06
undocumented Yair Altman 13 May, 2009 14:59:06
java Yair Altman 13 May, 2009 14:59:06
color Daniel Armyr 30 Apr, 2009 04:49:05
console Daniel Armyr 30 Apr, 2009 04:49:05
rssFeed for this Thread

Contact us