原文链接:https://blog.csdn.net/littlexidong/article/details/6610337
http://blog.sina.com.cn/s/blog_50c154510100ixjp.html
diary('D:\testlog3.txt');
diary on;
%中间是要输出的内容
for i=1:100
i
disp('haha');
end
diary off;
原文链接:https://blog.csdn.net/littlexidong/article/details/6610337
http://blog.sina.com.cn/s/blog_50c154510100ixjp.html
diary('D:\testlog3.txt');
diary on;
%中间是要输出的内容
for i=1:100
i
disp('haha');
end
diary off;