Path: news.mathworks.com!newsfeed-00.mathworks.com!solaris.cc.vt.edu!news.vt.edu!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Inser text in graph
Date: Wed, 06 Jun 2012 18:17:13 -0500
Organization: Aioe.org NNTP Server
Lines: 16
Message-ID: <jqooe2$1os$1@speranza.aioe.org>
References: <jql6gl$lfg$1@newscl01ah.mathworks.com> <jql6l9$s09$1@speranza.aioe.org> <jql7m3$r02$1@newscl01ah.mathworks.com> <jqluve$v0m$1@speranza.aioe.org> <jqm0iv$jvj$1@newscl01ah.mathworks.com> <jqm71i$id0$1@speranza.aioe.org> <jqoakv$oi6$1@newscl01ah.mathworks.com> <jqobnb$1cv$1@speranza.aioe.org> <jqoc73$2bg$1@speranza.aioe.org> <jqofkb$ifv$1@newscl01ah.mathworks.com> <jqoi4r$ilv$1@speranza.aioe.org>
NNTP-Posting-Host: IzheZSCTQF5uyrFcIKsnXg.user.speranza.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19
X-Notice: Filtered by postfilter v. 0.8.2
Xref: news.mathworks.com comp.soft-sys.matlab:770294

On 6/6/2012 4:30 PM, dpb wrote:
...

> ... if you're going to use
> a cell string instead of a character string, you'll have to dereference
> it w/ the curly brackets instead of passing the cell.

Or, that's why there's the char() casting function in the other place 
you've used it; but imo writing the {} is simpler altho results in same 
thing.

But, raises the question of why? if all you're using it for is to get 
the character that is required anyway, why not simply use a character 
string instead and eliminate the need for the cast?

--