楼主: hojogi
6505 4

[问答] 关于matlab读取excel和SPSS数据的问题 [推广有奖]

  • 1关注
  • 0粉丝

已卖:170份资源

大专生

31%

还不是VIP/贵宾

-

威望
0
论坛币
1305 个
通用积分
0
学术水平
0 点
热心指数
1 点
信用等级
0 点
经验
477 点
帖子
17
精华
0
在线时间
63 小时
注册时间
2012-11-28
最后登录
2021-10-30

楼主
hojogi 发表于 2013-12-31 02:10:48 |AI写论文
35论坛币
为什么我用xlsread()读取的时候,总提示错误
>> xlsread('Book1')
Warning: Could not start Excel server for import. Refer to documentation.
> In xlsread at 223
Skipping 16 bytes of extended strings.
Skipping 16 bytes of extended strings.
??? Error using ==> actxserver
Server creation failed. Invalid ProgID 'excel.application'
File could not be read by biffparse.  Invalid record ID.
这个错误怎么解决啊,哪位大声能告诉我?
我用百度搜了一下matlab读取SPSS数据的方法,有人说方法是:
1.运行SPSS,读取数据文件后按Analyze→Correlate→Bivariate顺序单击菜单项,展开对话框; 2.制定分析变量,选择源变量栏中的Y、X1、X2送入Variable(s)栏;这是什么意思啊,看不懂,SPSS17.0里面找不到这些选项啊,分析→相关→双 哪位大神能告诉我怎样用matlab读SPSS17.0里面的数据?

关键词:spss数据 MATLAB EXCEL matla atlab matlab问题 matlab读取数据 matlab与SPSS

沙发
黑白电视机 发表于 2013-12-31 12:12:17
举个例子:假设你的数据路径为“E:\data\book1.xls”;那么读取它的语句为:
xlsread('E:\data\book1.xls',1,'A2:B10'),其中‘1’表示‘sheet1’,'A2:B10'表示数据具体位置.至于spss数据,你还是先转为excel再读取吧。
难得糊涂

藤椅
hojogi 发表于 2013-12-31 13:51:32
黑白电视机 发表于 2013-12-31 12:12
举个例子:假设你的数据路径为“E:\data\book1.xls”;那么读取它的语句为:
xlsread('E:\data\book1.xls', ...
按照你说的改了,依然提示:xlsread('g:\Program Files\MATLAB71\work\book1.xls',1,'A2:A4')
Warning: Could not start Excel server for import. Refer to documentation.
> In xlsread at 223
Skipping 16 bytes of extended strings.
Skipping 16 bytes of extended strings.
??? Error using ==> actxserver
Server creation failed. Invalid ProgID 'excel.application'
File could not be read by biffparse.  Invalid record ID.
没有用。

板凳
黑白电视机 发表于 2013-12-31 15:15:39
hojogi 发表于 2013-12-31 13:51
按照你说的改了,依然提示:xlsread('g:\Program Files\MATLAB71\work\book1.xls',1,'A2:A4')
Warning:  ...
额 这什么情况 是不是你的matlab装的有问题
难得糊涂

报纸
matlab-007 发表于 2015-2-14 21:55:12
是不是里面含有中文?暂时不支持中文读取。

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-8 07:39