Saving Progress of the command window

Hello fellow members! Beginner here
How can i save my progess in the command window. Everytime I exit, it asks to start a new session and the previous progress is lost. I have autosave enabled.
Kindly help.

3 Comments

Hi Stephen.
The diary function is not available for the online version.
Use the diary filename it save the all display result in the command window. (Once done check the current working directory with filename.txt file)
diary filename
.....code
...code
diary off

Sign in to comment.

Answers (0)

Categories

Products

Tags

Asked:

on 22 Feb 2021

Commented:

on 23 Feb 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!