天天看点

Matlab 数组写入txt文件

save \'p.txt\' P -ascii
           

此处将P矩阵写入p.txt文件。但缺点是只能保存小数点后8位。