注册 登录
编程论坛 Matlab

求助diary命令的作用

xingshujun 发布于 2006-07-07 19:37, 1710 次点击

能否介绍一下diary命令的作用

1 回复
#2
abingchem2006-07-08 11:01

这个命令主要是记录你的指令行命令到一个指定的文件里,以便以后查看和调用

DIARY Save text of MATLAB session.
DIARY filename causes a copy of all subsequent command window input
and most of the resulting command window output to be appended to the
named file. If no file is specified, the file 'diary' is used.

1