is it possible to autosave live script?

14 views (last 30 days)
shahar pery
shahar pery on 6 Feb 2021
Commented: Cris LaPierre on 11 Jan 2024
I'm using the live editor for the autocopmlete feature.
I wrote a live script but my laptop restarted and, unlike regular matlab scripts, it was not saved (at least wasn't tere when I reopened Matlab).
is there a way to automatically save my live script every few minutes\seconds?
thanks!
  1 Comment
Shahram
Shahram on 10 Jan 2024
Moved: Cris LaPierre on 10 Jan 2024
My already save live scripts are not saved after I make changes and before I run it.
Also autosave does not work on already saved live scripts. Any help is appreciated.
:

Sign in to comment.

Answers (1)

Cris LaPierre
Cris LaPierre on 6 Feb 2021
Edited: Cris LaPierre on 6 Feb 2021
There is not currently a mechanism for autosaving live scripts.
Once you have saved the live script, it will save each time to you run the script. It also appears to save any changes automatically after ~1 minute of no activity.
Some quick testing has not found similar behavior for live scripts you have not saved yet (title is Untitled.mlx).
  2 Comments
Shahram
Shahram on 11 Jan 2024
Cris: you wrote: "Once you have saved the live script, it will save each time to you run the script."
This does not happen for me. Any help is apprecaited on this.
you also wrote "It also appears to save any changes automatically after ~1 minute of no activity."
This does not happen either. Any help on this is appreciated too.
Cris LaPierre
Cris LaPierre on 11 Jan 2024
I don't believe there is anything more I can do to help. I would recommend contacting support: https://www.mathworks.com/support/contact_us.html

Sign in to comment.

Categories

Find more on Install Products in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!