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

2 次查看(过去 30 天)
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 个评论
Matt J
Matt J 2024-1-10
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 2024-1-11
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.

请先登录,再进行评论。

回答(1 个)

Pratyush
Pratyush 2024-1-11
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.

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by