How to resolve step size?
Show older comments
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)
Answers (1)
You can download the MATLAB code directly:
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!