display different colors in command window, using command "disp" or similar
조회 수: 267 (최근 30일)
이전 댓글 표시
I want sections of my display to be in differnt colors. (Matlab 2009)
ex:
disp('Hello matlab Central!')
Is it possible to get that text in example red?
disp('Hello matlab Central','red')
Thanks
댓글 수: 1
Ronald Hartwig
2018년 10월 27일
Apparently not. With more current version, simple things like cprintf and fprintf are not valid either.
답변 (2개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Entering Commands에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!