Filter löschen
Filter löschen

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

6 Ansichten (letzte 30 Tage)
Ravi
Ravi am 8 Feb. 2020
Bearbeitet: Ravi am 16 Feb. 2020
In which situation we need to use DSM and From/Goto Blocks?
Effect on Code and model performance?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 8 Feb. 2020
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.

Weitere Antworten (0)

Kategorien

Mehr zu Block Libraries finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by