How to display colour in command window output
이전 댓글 표시
If I have an if statement with conditions, how do I print a statement in different colours in the Command Window?
eg.
if x = 3
test = ' True' (in blue)
else test = 'False' (in red)
end
댓글 수: 1
Redmer Van Tijum
2019년 8월 15일
Please look at the fileexchange. cprintf is the developed code. It is not that straightforward.
\
Cheers
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!