自定义语法测试

% 为输出创建文件
!touch testFile.txt
fid = fopen('testFile.txt','w');
for i = 1:10
  frprintf(fid,'%6.2f 
',i);
end

原文地址:https://www.cnblogs.com/gshang/p/12315159.html