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

1 view (last 30 days)
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 Comments
Matt J
Matt J on 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 on 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.

Sign in to comment.

Answers (1)

Pratyush
Pratyush on 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.

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!