Info
此问题已关闭。 请重新打开它进行编辑或回答。
Simulink creates errors from nowhere!
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Andreas Goser
2014-11-26
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 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!