问题描述
我已经下载了一个我感兴趣的数据集.但是,它是.mat格式的,我无权访问Matlab.
I've downloaded a data set that I am interested in. However, it is in .mat format and I do not have access to Matlab.
我已经进行了一些谷歌搜索,并说可以在SciLab中打开它.
I've done some googling and it says I can open it in SciLab.
我尝试了一些事情,但是还没有找到任何好的教程.
I tried a few things, but I haven't found any good tutorials on this.
我做了
matfile_listvar(fd)
matfile_listvar(fd)
,并打印出不带扩展名的文件名.我尝试过
and that prints out the filename without the extension. I tried
那就给了我"var1 ="
and that just gives me "var1 = "
我真的不知道数据是如何组织的.该存储库描述了其中包含的数据,但没有描述其组织方式.
I don't really know how the data is organized. The repository described the data it contains, but not how it is organized.
所以,我的问题是,提取/查看此数据时我做错了什么?我不致力于SciLab,如果对此有更好的工具,我会持开放态度.
So, my question is, what am I doing wrong in extracting/viewing this data? I'm not committed to SciLab, if there is a better tool for this I am open to that.
推荐答案
一种选择是使用八度音,可以读取.mat文件并运行大多数Matlab .m文件. Octave是开源的,二进制文件可用于Linux,Mac和Windows.在Octave内部,您可以使用以下命令加载文件:
One options is to use Octave, which can read .mat files and run most Matlab .m files. Octave is open source with binaries available for Linux, Mac, and Windows. Inside of Octave you can load the file using:
load file
请参见 Octave的手册第14.1.3节简单文件" I/O 以获取更多详细信息.
See Octave's manual section 14.1.3 Simple File I/O for more details.
这篇关于没有Matlab提取.mat数据-尝试scilab失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!