How to resolve step size?
显示 更早的评论
https://www.youtube.com/watch?v=jQOOCD-EqqY&t=13sI was trying to make this same project on MATLAB. But I am getting errors.
An error occurred during simulation and the simulation was stopped
Caused by:
- Derivative of state 'DC_Motor_SpeedControl.DC_Motor_Subsystem.DC_Motor.i_L' in block 'DC_Motor_SpeedControl/DC Motor Subsystem/DC Motor' at time 1.96 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances)
回答(1 个)
You can download the MATLAB code directly:
类别
在 帮助中心 和 File Exchange 中查找有关 Magnetic Elements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!