From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Inser text in graph
Date: Wed, 06 Jun 2012 18:17:13 -0500
Organization: NNTP Server
Lines: 16
Message-ID: <jqooe2$1os$>
References: <jql6gl$lfg$> <jql6l9$s09$> <jql7m3$r02$> <jqluve$v0m$> <jqm0iv$jvj$> <jqm71i$id0$> <jqoakv$oi6$> <jqobnb$1cv$> <jqoc73$2bg$> <jqofkb$ifv$> <jqoi4r$ilv$>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20120216 Thunderbird/3.1.19
X-Notice: Filtered by postfilter v. 0.8.2
Xref: 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 

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?