Saving Progress of the command window

2 Ansichten (letzte 30 Tage)
nikhil bhardwaj
nikhil bhardwaj am 22 Feb. 2021
Kommentiert: KALYAN ACHARJYA am 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 Kommentare
nikhil bhardwaj
nikhil bhardwaj am 23 Feb. 2021
Hi Stephen.
The diary function is not available for the online version.
KALYAN ACHARJYA
KALYAN ACHARJYA am 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by