I nead help, xlsread(file,-1).
古いコメントを表示
from doc:
[num,txt,raw] = xlsread(filename,-1) opens an Excel window to interactively select data. Select the worksheet, drag and drop the mouse over the desired range, and click OK.
How can I save this selected area (ex ‘A3:AB187’ or other) to use as a variable.I wont read in the same area (ex ‘A3:AB187’ or other) with multiple files.
Thanks,
Jola
3 件のコメント
Ahmed Elkady
2012 年 8 月 1 日
%% Read Data from Excel Files
FileName = 'XFileName.xlsm';
SheetNo = 'Sheet1';
DataRange = 'T4..X259';
VariableName = xlsread (FileName, SheetNo, DataRange);
Jola P
2012 年 8 月 1 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!