display different colors in command window, using command "disp" or similar
Mostrar comentarios más antiguos
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 comentario
Ronald Hartwig
el 27 de Oct. de 2018
Apparently not. With more current version, simple things like cprintf and fprintf are not valid either.
Respuestas (2)
Chunguang LI
el 20 de Abr. de 2021
4 votos
fprintf(2,'only red\n'); %2 for standard error.
Evgeny Pr
el 25 de En. de 2013
1 voto
This is an undocumented feature!
Categorías
Más información sobre App Building en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!