如何使用xlsread与MATLAB和OS X? [英] How do you use xlsread with MATLAB and OS X?
问题描述
当尝试调用xlsread时,我收到警告:
When trying to call xlsread, I get the warning:
警告:无法启动Excel
服务器进行导入,将使用'basic'模式
。有关详细信息,请参阅HELP
XLSREAD。
Warning: Could not start Excel server for import, 'basic' mode will be used. Refer to HELP XLSREAD for more information.
帮助文件向我建议,因为我正在运行OSX,我没有运行的excel COM服务器会导致此警告。我想要找到一个解决方案或确认它是无法解决的。
The helpfile suggests to me because I am running OSX, I do not have an excel COM server running which results in this warning. I'd like to either find a solution or confirm that it is irresolvable.
规格:我正在运行MATLAB R2011a和OS X Lion。
Specifications: I'm running MATLAB R2011a and OS X Lion.
推荐答案
有两个主要选项:
-
升级到R2012b,允许在所有平台上的Excel文件中阅读表格和范围
使用任何讨论的(有点参与的)方法这篇文章的无证件Matlab
Use any of the (somewhat involved) approaches discussed in this post of Undocumented Matlab
这篇关于如何使用xlsread与MATLAB和OS X?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!