matlab 读取excel

clear;
clc;

tic;%启动计时器,计算程序运行时间

a=xlsread('C:Documents and SettingsAdministrator桌面data.xls');
b=a(:,3)% 取第三列
c=b(1:5)%取第三列指定行 1-5行

toc;

原文地址:https://www.cnblogs.com/love6tao/p/4627110.html