Effacer les filtres
Effacer les filtres

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

6 vues (au cours des 30 derniers jours)
Ravi
Ravi le 8 Fév 2020
Modifié(e) : Ravi le 16 Fév 2020
In which situation we need to use DSM and From/Goto Blocks?
Effect on Code and model performance?

Réponse acceptée

Walter Roberson
Walter Roberson le 8 Fév 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.

Plus de réponses (0)

Catégories

En savoir plus sur Block Libraries dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by