Info
This question is closed. Reopen it to edit or answer.
Simulink creates errors from nowhere!
1 view (last 30 days)
Show older comments
It's really frustrating, I spent hours on this but I just don't see anything meaningful.
I use a fixed step solver (step size 1e-12) and export two signals from to different sources, both sampled at "0" (i.e., each time step). This is the model:
Both signals are numerically IDENTICAL!!! After the simulation, I execute
plot(simout_sim - simout_cad)
and get this figure. There is really NO DIFFERENCE between these signals!!
Now I send both signals through identical systems (in this case Butterworth) and suddenly Simulink creates a huge error! I execute:
plot(simout_sim_bb-simout_cad_bb)
and get this (zoomed to the beginning):
Clearly the problem is the "cadence" block (which does not perform any actions). If I just remove it, it works, if I just export simout_sim and simout_cad and read it in via "From Workspace" block it also works. However, I still make sure that both signals are identical!
This must never result in an overall error of 1e-3 ... from out of nothing!!
Any ideas?
2 Comments
Answers (1)
Andreas Goser
on 26 Nov 2014
I like to share two experiences.
#1 is related the the statistical expereince that around 50% of all issues with 3rd part products are related to release compatibility. Make sure the Cadence block is really matching with the release requirements.
#2 as of a similar issue worked on a couple of weeks ago. Here the 3rd party vendor mentioned on one page of a 100 page document this only would work with a certain solver and a couple of specific settings. I may or may not be ths is also what happens for you.
1 Comment
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!