Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Comma list with leading cell
Date: Sat, 23 May 2009 14:19:01 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 43
Message-ID: <gv90kl$ek3$1@fred.mathworks.com>
References: <gv8nju$kvn$1@fred.mathworks.com> <gv8r4e$19v$1@fred.mathworks.com> <gv8rum$lea$1@fred.mathworks.com> <gv8th9$166$1@fred.mathworks.com> <gv8v05$355$1@fred.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1243088341 14979 172.30.248.37 (23 May 2009 14:19:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 23 May 2009 14:19:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:542003

Still not understand. Us seems the only one who understand what is going on. 

Just few more examples:

>> C=[{1} {2} 3]

C = 

    [1]    [2]    [3]

>> isequal(C,{1 2 3})

ans =

     1

>> isequal(C,[{1} {2} {3}])

ans =

     1

>> S = [struct() struct()]

S = 

1x2 struct array with no fields.

>> S = [struct() 1]
??? Error using ==> horzcat
The following error occurred converting from double to struct:
Error using ==> struct
Conversion to struct from double is not possible.
 
>> C = [{} 1]

C = 

    [1]

>>

Confused Bruno