Saving Progress of the command window

2 views (last 30 days)
nikhil bhardwaj
nikhil bhardwaj on 22 Feb 2021
Commented: KALYAN ACHARJYA on 23 Feb 2021
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
nikhil bhardwaj
nikhil bhardwaj on 23 Feb 2021
Hi Stephen.
The diary function is not available for the online version.
KALYAN ACHARJYA
KALYAN ACHARJYA on 23 Feb 2021
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

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!