Path: news.mathworks.com!not-for-mail
From: Bob <rbemis@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Printing a cell array
Date: Mon, 12 May 2008 18:16:54 -0400
Organization: The MathWorks, Inc.
Lines: 8
Message-ID: <g0afkn$ohe$1@fred.mathworks.com>
References: <b44e861c-f621-4d52-a70b-b433f7420339@x35g2000hsb.googlegroups.com>
NNTP-Posting-Host: vpn-client-122-28-ah.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1210630615 25134 144.212.122.28 (12 May 2008 22:16:55 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 12 May 2008 22:16:55 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.14 (Windows/20080421)
In-Reply-To: <b44e861c-f621-4d52-a70b-b433f7420339@x35g2000hsb.googlegroups.com>
Xref: news.mathworks.com comp.soft-sys.matlab:468019


Does this help?

for k=1:nb
   fprintf('%d    %s\n',k,Names{k})
end

Cheers
Bob