Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Aim I having a senior moment or what...???
Date: Wed, 24 Apr 2013 18:05:08 +0000 (UTC)
Organization: Seagate Technology
Lines: 15
Message-ID: <kl96sk$lg1$1@newscl01ah.mathworks.com>
References: <kl78pg$llb$1@speranza.aioe.org> <see-58622E.21222123042013@news.eternal-september.org> <kl7r55$qi2$1@speranza.aioe.org>
Reply-To: <HIDDEN>
NNTP-Posting-Host: www-00-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1366826708 22017 172.30.248.45 (24 Apr 2013 18:05:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 24 Apr 2013 18:05:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 3865886
Xref: news.mathworks.com comp.soft-sys.matlab:794267

dpb <none@non.net> wrote in message <kl7r55$qi2$1@speranza.aioe.org>...
> On 4/23/2013 8:22 PM, Doug Schwarz wrote:
> > In article<kl78pg$llb$1@speranza.aioe.org>, dpb<none@non.net>  wrote:
> >
> >> DEAL() duplicates all terms in the RHS, is there a shorthand for
> >>
> >> A=x(1);
> >> B=x(2);
> >>
> >> [A B]=???(x);
> >>
(snip)
> 

I recently sent an enhancement request in to TMW to create a new function/syntax to create a comma-separated list from a regular array, which seems like what you're looking for here? If so, please call/email TMW support and let them know to add your vote to this enhancement request - they weren't sure of this construct's usefulness at first when I suggested it, so having users contact them to vote for this enhancement request would help :)