what is the difference between data store memory and goto-from blocks ?
17 visualizzazioni (ultimi 30 giorni)
Noufal Thangal Rahim il 13 Set 2018
in this example given in the page-> Model Global Data by Creating Data Stores
Data store memory (read/write) is used for getting the Error to switch between two values.
Instead, why can't the goto- from blocks be used ?
Titus Edelhofer il 13 Set 2018
the main difference is, that data store memory and read/write remove the dependency between reading and writing, i.e., the data flow: you can read and write anywhere in the model at any time.
In contrast the from-goto blocks are like having a connection between the goto and the from (it's only a different representation, instead of drawing a line you use the from/goto). But the data dependency stays intact.