help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Color console - is this possible in near future?


From: Zbigniew Komarnicki
Subject: Re: Color console - is this possible in near future?
Date: Fri, 9 Nov 2012 10:44:39 +0100
User-agent: KMail/1.13.5 (Linux/3.6.6-m0; KDE/4.4.5; x86_64; ; )

On Friday 09 of November 2012 10:38:07 you wrote:
> The following works as you would expect in Octave:
> 
> fprintf(1, [char(27), ...
>           '[31mThis is a test.', ...
>            char(27), ...
>           '[36m Here another color.', ...
>            char(27), ...
>           '[37;41;1m Now is background color and white bold.', ...
>            char(27), ...
>           '[0m\n']);
> 
> And it also works in Matlab if you need compatible code.
> 
> c.

Thank you for your quick answer.

Regards


reply via email to

[Prev in Thread] Current Thread [Next in Thread]