Introduction - If you have any usage issues, please Google them yourself
mat文件转txt文件
.mat 是matlab专用的文件,可以先把文件读入matlab,再用 fprintf 或者 save( pqfile.txt , data , -ASCII )写入到 .txt 文件中。
比如
把数据加载进matlab,heart_scale.mat 有两项:heart_scale_init 和 heart_scale_label
load heart_scale.mat
将heart_scale_inst保存到heart_scale_inst.txt文件中
save( heart_scale_inst.txt , heart_scale_inst , -ASCII )