[英]How to import the data from .MYD into MATLAB?
I just obtained a bunch of MySQL data stored in raw MySQL ( MyISAM table) format in a .MYD
file. 我只是获得了以.MYD
文件格式存储的原始MySQL(MyISAM表)格式的一堆MySQL数据。
I now wish to start data analysis over those data. 我现在想开始对那些数据进行数据分析。 All I need to do is just reading the numbers into my MATLAB and process them. 我需要做的只是将数字读入我的MATLAB并进行处理。
What is the easiest way of doing so? 这样做最简单的方法是什么? I am using Mac OS, by the way. 顺便说一下,我正在使用Mac OS。
Creating a mysql database and dropping the file into a (non running at the time) mysql server is certainly one way to get to the stage where you have the data in a form you can re-export it. 创建一个mysql数据库并将文件放到(当时未运行的)mysql服务器中,无疑是到达阶段的一种方式,您可以重新导出数据。
I am not familiar with MACos locations but in linux the data structure is : 我不熟悉MACos的位置,但是在Linux中,数据结构为:
/var/lib/mysql/databasename/*.MYI and MYD
I would be leery of trying to extract an ISAM file using anything other than mysql frankly. 坦率地说,我会尝试使用除mysql之外的任何内容来提取一个ISAM文件,这会很谨慎。
Maybe someone else knows better, but I don't :-) 也许其他人更了解,但我不知道:-)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.