我是新手,所以我会尽量解释清楚。
我正在使用 Octave (4.x) 处理数据,并且我想导入 Excel 文件。Excel 也安装在我的笔记本电脑上。
[num,txt,raw] = xlsread(input.rootdir);
调用该函数时,会出现以下消息:
warning: Functions for spreadsheet style I/O (.xls .xlsx .sxc .ods .dbf .wk1
etc.) are provided in the io package. See <http://octave.sf.net/io/>.
Please read <http://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
warning: called from
__unimplemented__ at line 524 column 5
CreateInvoices at line 18 column 3
error: 'xlsread' undefined near line 18 column 5
error: called from
CreateInvoices at line 18 column 3
>>
警告显示未安装 I/O 包。但是,当我在命令行中调用“pkg list”时会列出该软件包,因此它似乎安装正确。
还有一些关于堆栈溢出的其他主题具有类似的内容,但它们似乎可以通过正确安装 I/O 包来解决。
如果我尝试调用“pkg load io”,Octave 会立即崩溃。
我尝试使用其他功能来导入数据(csv、textread、...),但我总是丢失我的文本数据。所以这并没有真正的帮助。
有人对我有什么建议吗?
提前感谢您的回复!
最好的问候,洛德