Why are the simulation results different when using "Data Store" blocks instead of directly connected blocks and which result is the correct one?
Show older comments
Hi all,
my problem is that when I'm comparing two apparently similar models with each other I get different simulation results. One model uses Data Store blocks (read, write and memory) and the other model is "hard wired". All other blocks remain the same and that is why I also expected the results to be the same or at least come close to each other.
I tried and used different solvers with different step sizes and also varied the function input parameters which also changed the outcome - with some settings the results come close to each other but with others they do not at all.
So why do the results differ from each other and how do I solve this problem?
Thx for your help, Michael
Accepted Answer
More Answers (0)
Categories
Find more on Interactive Model Editing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!