Error when running model

3 views (last 30 days)
Sharon Ching Ing Kuan
Sharon Ching Ing Kuan on 15 Dec 2020
Hi everyone,
I am new to Simulink so been a bit lost. Wondering if anyone could give me some pointers on the error message that I get please. I've changed the parameters and received the error message as follow when i tried to run it. Not quite sure how to workaround it, any advice is really appreciated.
Thanks!

Answers (1)

Keerthana Chiruvolu
Keerthana Chiruvolu on 18 Dec 2020
Hi Sharon,
From the error message, I understand that the problem is in the Intergrator block. The derivate at the specified instant is not finite. Try changing the input/ parameters of the Integrator block.
To change the step-size of the Model (optional),
  1. Under the Modelling tab, select Model settings -> Model settings-> Solver
  2. Now, Choose a Solver.
The Simulink also shows a warning, to eliminate this use a From block for every Goto block.
For more information on Solver settings, refer the link.

Categories

Find more on Event Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!