what is the difference between data store memory and goto-from blocks ?
8 次查看(过去 30 天)
显示 更早的评论
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 ?
0 个评论
采纳的回答
Titus Edelhofer
2018-9-13
Hi Noufal,
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.
Titus
5 个评论
Walter Roberson
2018-9-14
Using a DSM sounds like it would give problems if it is an input into an algebraic loop.
Titus Edelhofer
2018-9-14
That's a good remark: depending on how connected, execution order might be changed to have no algebraic loops ...
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!