simulink仿真出现consecutive zero crossings的问题

有时simulink仿真运行到一半会报错;

At time 0.03390082442188625, simulation hits (1000)consecutive zero crossings. Consecutive zero crossings will slow down the simulation. A report is shown below. You may increase the number of consecutive zero crossings allowed in the solver diagnostic controls to continue the simulation and ignore this message or disable the zero crossing detection of some of the blocks to accelerate the simulation.

这时在simulation->configuration parameters->solver里面,右下角有个Algorithe,
默认为“Nonadaptive”,你改为"adaptive"就行了
————————————————
【转载】
原文链接:https://blog.csdn.net/lemonade_117/java/article/details/86409104

原文地址:https://www.cnblogs.com/caiya/p/12797049.html