Select wanted range xlsread
3 views (last 30 days)
Show older comments
Hello,
Using xlsread(filename,-1), I am able to select and get the data of an excel file.
Is there a way to get the sheet name and the data range where I took the data ? I am using MATLAB 2007b.
Thank you very much in advance
0 Comments
Answers (1)
Jan
on 14 Sep 2011
Please read "doc xlsread" for your MATLAB version. In 2009a you'd find this:
6. Get data from a specified region in a named sheet:
NUMERIC = xlsread('c:\matlab\work\myspreadsheet','NBData','a2:j5')
See Also
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!