Path: news.mathworks.com!not-for-mail
From: "rohan patel" <rpatel133@live.com>
Newsgroups: comp.soft-sys.matlab
Subject: how to make rows and columns from excel files? please help
Date: Wed, 4 Nov 2009 01:14:03 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 12
Message-ID: <hcqkgq$n9$1@fred.mathworks.com>
Reply-To: "rohan patel" <rpatel133@live.com>
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 1257297243 745 172.30.248.37 (4 Nov 2009 01:14:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 4 Nov 2009 01:14:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2075713
Xref: news.mathworks.com comp.soft-sys.matlab:582219


'Game'         'January'    'February'    'March'    'April'    'May'      'June' 
 'iKitty'            75]         254           1235     1820      2114     1600
'ShootEmUp'   3584]     4588          9421     10588    12788    16889

okay i have this. i know how to put in rows and columns for iKitty and ShootemUP.

[numbers, text, everything] = xlsread(fileName);

iKitty = numbers(1,:);
shootEmUp = numbers(2,:);

but i need to figure out how if there was more data add(such as new game) how can i use a for loop to put everything in row and columns?