Live scritps is not saved when I run to a break point.

1 vue (au cours des 30 derniers jours)
Shahram
Shahram le 10 Jan 2024
Commenté : Shahram le 11 Jan 2024
My already saved live scripts are not saved after I make changes and before I run it to a break point
Also autosave does not work on already saved live scripts. Any help is appreciated.
  2 commentaires
Matt J
Matt J le 10 Jan 2024
A run operation should save the script, but since you say this is before running it to a breakpoint, I don't see why any autosave operation would be expected.
Shahram
Shahram le 11 Jan 2024
these are two different problems:
1- A run operation does not save my livescript when I run the livescript. (with or without break points)
2- Autosave does not work on live scripts.

Connectez-vous pour commenter.

Réponses (1)

Pratyush
Pratyush le 11 Jan 2024
Hi Shahram,
I understand that your live scripts doesn't save automatically.
You can try this:
  1. go to: preferences > editor/debugger > automatic file changes
  2. click on checkbox: save changes upon clicking away from file.
This should resolve the issue.
  1 commentaire
Shahram
Shahram le 11 Jan 2024
I do not have such an option. See the image below.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Workspace Variables and MAT-Files dans Help Center et File Exchange

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by