Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

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

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.

Contact us