这个命令主要是记录你的指令行命令到一个指定的文件里,以便以后查看和调用
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.