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

1 回表示 (過去 30 日間)
Shahram
Shahram 2024 年 1 月 10 日
コメント済み: Shahram 2024 年 1 月 11 日
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.
  1 件のコメント
Shahram
Shahram 2024 年 1 月 11 日
I do not have such an option. See the image below.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeWorkspace Variables and MAT-Files についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by