MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [求助]从excel读数据的问题 (https://www.labfans.com/bbs/showthread.php?t=4227)

mathjiang 2008-08-26 21:27

[求助]从excel读数据的问题
 
各位大侠,偶从excel读入数据遇到下述问题,请问问题何在?
越详细越好哈。


》xlsread('petrol.xls','a2:i11')
??? Error using ==> xlsread at 262
File D:\我的文档\MATLAB\petrol.xls not in Microsoft Excel Format.

pslpsl 2008-08-26 21:49

回复: [求助]从excel读数据的问题
 
xlsread('petrol.xls','sheet1','a2:i11')

如果工作表名不是sheet1,改成相应的

mathjiang 2008-08-26 22:03

回复: [求助]从excel读数据的问题
 
又见到pslpsl,不甚感激哈。


所有时间均为北京时间。现在的时间是 03:00

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.