Mantain a variable for the next cycle

Hi,
I've generate a code and I want to run the code different times. Everytime I run the code I would like to mantain a variable in the workspace that I need for the following run.
May someone explain me how to do it?

 採用された回答

Walter Roberson
Walter Roberson 2019 年 9 月 25 日

0 投票

See persistent()

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

製品

リリース

R2019b

タグ

質問済み:

2019 年 9 月 25 日

回答済み:

2019 年 9 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by