www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ReadSpecificRangeofDatafromSpreadsheetExample.m
%% Read Specific Range of Data from Spreadsheet % Copyright 2015 The MathWorks, Inc. %% % Create a table from the 5-by-3 rectangular region between the two corners % |C2| and |E6| on the spreadsheet |patients.xls|. Do not use the first % row of this region as variable names. T = readtable('patients.xls',... 'Range','C2:E6',... 'ReadVariableNames',false) %% % |T| contains default variable names.