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

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?

답변 (1개)

The file exchange contribution cprintf() is the easiest way to print with your choice of colors in the command window.

카테고리

도움말 센터File Exchange에서 Images에 대해 자세히 알아보기

태그

질문:

2015년 10월 5일

답변:

2015년 10월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by