将 .ods sheet 加载到 Octave 时出错

Error while loading .ods sheet into Octave

我正在尝试使用代码

将电子表格中的一列整数读入 Octave
A = odsread('Data.ods', 'Sheet1', 'A1:A946');

但它失败了,我收到一条包含警告和错误的消息:

> unzip:  cannot find or open Data.ods, Data.ods.zip or Data.ods.ZIP.
file Data.ods couldn't be unpacked. Is it the proper file format?
warning: UnZip failed with error 9
Output:
error: warning: STATE structure must have fields 'identifier' and 'state'
error: called from
    __OCT_spsh_open__ at line 72 column 7
    odsopen at line 267 column 30
    odsread at line 179 column 7

所以错误说 "STATE structure must have fields 'identifier' and 'state'" ,这是什么意思?

显然应该包含文件的完整路径才能使其正常工作。即使文件位于同一目录中,它也无法加载文件本身。