Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed.cs.wisc.edu!uwm.edu!elk.ncren.net!newsflash.concordia.ca!canopus.cc.umanitoba.ca!not-for-mail
From: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Newsgroups: comp.soft-sys.matlab
Subject: Re: Bug in mat2cell?
Date: Sun, 25 Nov 2007 20:38:49 +0000 (UTC)
Organization: National Research Council Canada - Conseil national de rechereches Canada
Lines: 16
Message-ID: <ficmgp$462$1@canopus.cc.umanitoba.ca>
References: <fibjt3$64b$1@fred.mathworks.com>
NNTP-Posting-Host: origin.ibd.nrc.ca
X-Trace: canopus.cc.umanitoba.ca 1196023129 4290 192.70.172.160 (25 Nov 2007 20:38:49 GMT)
X-Complaints-To: abuse@cc.umanitoba.ca
NNTP-Posting-Date: Sun, 25 Nov 2007 20:38:49 +0000 (UTC)
Originator: roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)
Xref: news.mathworks.com comp.soft-sys.matlab:439268



In article <fibjt3$64b$1@fred.mathworks.com>,
Bruno Luong <brunoluong@yahoo.com> wrote:

>X=rand(2,2,2);
>C=mat2cell(X,2,[1 1],[1 1]);

>The last instruction produces the following error message,
>which I think is a bug.

>??? Index exceeds matrix dimensions.

>My MATLAB version is 7.3.0.267 (R2006b).

No error is produced in R2007a.
-- 
   "Okay, buzzwords only. Two syllables, tops."  -- Laurie Anderson