MATLAB: How to save everything in command window

command window

Is it possible to save everything that I type into the command window, I am new to matlab so I’m still not sure on how it works so is there something else I just do to stop everything on my command window from disappearing ?

Best Answer

  • See the diary function documentation.