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)

Réponses (1)

Torsten
Torsten il y a environ une heure
Déplacé(e) : Torsten il y a environ une heure

0 votes

Produits

Version

R2026a

Question posée :

il y a environ 10 heures

Déplacé(e) :

il y a environ 4 heures

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by