matlab仿真出现错误
![f48e2caa7c0dcd6494f7658204167e04.png](https://i-blog.csdnimg.cn/blog_migrate/f5c8b354aadf93e98517a896525d5f6e.jpeg)
An error occurred while running the simulation and the simulation was terminated
Caused by:
At time 5.9166658606763667, simulation hits (1000) consecutive zero crossings.
Consecutive zero crossings will slow down the simulation or cause the simulation to hang.
To continue the simulation, you may
1) Try using Adaptive zero-crossing detection algorithm or
2) Disable the zero crossing of the blocks shown in the following table.
--------------------------------------------------------------------------------
Number of consecutive zero-crossings : 2002
Zero-crossing signal name : Sf0
Block type : S-Function
Block path : 'A12ThewholebridgefilteringDiodeRL/powe