MatlabSessionLogged

MatlabSessionLogged does use DIARY to record all what at the MATLAB Command Window happens.

You are now following this Submission

>> MatlabSessionLogged(<option>) does record all what in the MATLAB Command Window happens. This function uses the DIARY functionality of MATLAB.
The Logged MATLAB Session does help also when MATLAB is executed without any supervision or does crash and allow to try to reproduce errror initiators.

Syntax: >> MatlabSessionLogged(option)

Options: '+' Start diarying
'-' Stop diarying
'st' Diary Status checking {on|off}
'fn' check which Diary Filename is in use
'he' show Help of this File
'ed' Edit SessionLog-Files
'fs' Finished the diarying and Add a Exiting Timestamp

MatlabSessionLogged can be started by executing command by hand, from STARTUP.m or by using the "/r" command in a Shortcuts when starting MATLAB. A description on how to setup this option, please refer to the Help of MatlabSessionLogged.

Enjoy and thx for your Feedback!

Cite As

Frank González-Morphy (2026). MatlabSessionLogged (https://www.mathworks.com/matlabcentral/fileexchange/6405-matlabsessionlogged), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0