Is there any way to print strings to the command window in different colours using fprintf?

8 vues (au cours des 30 derniers jours)
I've read about cprintf and using fprintf to print to stderr, but I'm a little confused by these methods. What is the simplest and easiest way to print strings to the command window in colours of my choice?

Réponses (1)

Walter Roberson
Walter Roberson le 5 Oct 2015
The file exchange contribution cprintf() is the easiest way to print with your choice of colors in the command window.

Catégories

En savoir plus sur Interactive Control and Callbacks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by