Path: news.mathworks.com!not-for-mail
From: "Yair Altman" <altmanyDEL@gmailDEL.comDEL>
Newsgroups: comp.soft-sys.matlab
Subject: Re: FontSize
Date: Wed, 3 Mar 2010 21:00:23 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 16
Message-ID: <hmmil7$6mr$1@fred.mathworks.com>
References: <hmmcss$kac$1@fred.mathworks.com> <hmmfnb$p8n$1@fred.mathworks.com>
Reply-To: "Yair Altman" <altmanyDEL@gmailDEL.comDEL>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1267650023 6875 172.30.248.35 (3 Mar 2010 21:00:23 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 3 Mar 2010 21:00:23 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:613554

"Jan Simon" <matlab.THIS_YEAR@nMINUSsimon.de> wrote in message <hmmfnb$p8n$1@fred.mathworks.com>...
> Dear Rajeev!
> 
> > I am using cprintf statement and need to use different font size for the text. how can i do it? Can somebody let me know. I appreciate it.
> 
> If you use Yair's CPRINTF from the FEX to print colored text in the command window: As far as I know, you cannot change the font size.
> 
> Kind regards, Jan


This is correct. I haven't figured out a way to modify the font of a specific text segment (as opposed to the entire Command Window, which is easy) - only the color and underline properties. I haven't given up hope (yet?), but I have nothing to show for my efforts so far...

More information about CPRINTF: http://undocumentedmatlab.com/blog/cprintf-display-formatted-color-text-in-command-window/

Yair Altman
http://UndocumentedMatlab.com