diary (Matlab function) ======================= Save session to a file Matlab/Scilab equivalent ~~~~~~~~~~~~~~~~~~~~~~~~ **Matlab** **Scilab** :: `diary`_ :: `diary`_ Particular cases ~~~~~~~~~~~~~~~~ When a filename is given to save environment, if this file exists, Scilab returns an error message while Matlab save environment at the end of existing file (append). Note that **diary on** and **diary toggle** exist only in Matlab. The equivalent for Matlab **diary off** is **diary(0)** in Scilab.