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

6 次查看(过去 30 天)
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
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.

更多回答(0 个)

类别

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

Community Treasure Hunt

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

Start Hunting!

Translated by