matlab读取、显示.mat文件

[an error occurred while processing the directive]

.mat文件在windows里会自动默认为microsoft的一种文件格式,让人捉急啊。这明明是matlab的一种常见的文件类型呢!

基本步骤:

1)打开matlab,用load指令把文件读取进来,例如:

load D:\XXX.mat

2)可以直接输入文件名,来查看文件的格式,例如:

>> load D:\data\node_rgb.mat

>> node_rgb

3)打开文件,用open+文件名,例如:

>> open node_xyz

然后就会弹出一个页面--Variable Editor,显示你的文件里的数据。

[an error occurred while processing the directive]

Copyright © 2088 2010年南非世界杯_韩国世界杯 - sopeiyin.com All Rights Reserved.
友情链接