Difference between data store memory(DSM) and goto-from blocks?

In which situation we need to use DSM and From/Goto Blocks?
Effect on Code and model performance?

 採用された回答

Walter Roberson
Walter Roberson 2020 年 2 月 8 日

0 投票

They are completely different. From/Goto is for flow control, "Send this signal to another part of the model that I have described somewhere else". DSM holds on to information until the information is replaced, able to retrieve the information whenever it is asked for. DSM corresponds to storing something into a variable.

1 件のコメント

Ravi
Ravi 2020 年 2 月 16 日
編集済み: Ravi 2020 年 2 月 16 日
Thanks

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

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeEvent Functions についてさらに検索

質問済み:

2020 年 2 月 8 日

編集済み:

2020 年 2 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by