|
"Jan " <j_barthel@gmx.de> wrote in message
<fa1095$83b$1@fred.mathworks.com>...
> Hello,
>
> can I print text in the command window in any color except
> black (e.g. with the 'disp' command). Like the 'error'
> command, but I want to see only my text and not more and
> in blue or green.
>
> Thanx so far.
>
> JAN
You can display in red using fprintf(2,'my text...\n'). You
can display in blue-underline using fprintf('<a
href="">test</a>\n'). Aside from that I couldn't find any
other option, and not from lack of trying. I'd be happy to
learn...
BTW, you can modify the entire foreground & background &
selection colors of the command window text, but not of a
specific text section within the window. I'm sure there's a
way somehow, because Matlab does it - I just haven't figured
it out yet...
Yair Altman
http://ymasoftware.com
|