matlab怎么保存数据到硬盘?
matlab中使用fwrite。 fwrite(fid,magic(5),'integer*4') creates a 100-byte binary file containing the 25 elements of the 5-by-5 magic square, stored as 4-byte integers. c中使用fopen,读取到二维数组中 int num_read = fread(buf, 1, length, fp);
(图片来源网络,侵删)