I nead help, xlsread(file,-1).
Mostrar comentarios más antiguos
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 comentarios
Ahmed Elkady
el 1 de Ag. de 2012
%% Read Data from Excel Files
FileName = 'XFileName.xlsm';
SheetNo = 'Sheet1';
DataRange = 'T4..X259';
VariableName = xlsread (FileName, SheetNo, DataRange);
Jola P
el 1 de Ag. de 2012
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Spreadsheets en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!