parametererror while trying to run simulation

1 view (last 30 days)
i tried to run a simulation of a lowpassfilter on simulink (Matlab R2013a) but the simulation don't finish, it runs hours! so i tried to change the step parameters of the solver and than i get always the error: Derivative input 1 of 'untitled/Integrator' at time 0.0788888888888889 is Inf or NaN. Stopping simulation. 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) i cant't find the error, please if somebody can help me! thank you in advance!
  2 Comments
A Jenkins
A Jenkins on 4 Nov 2013
If you do not share your model, it is really hard for us to debug it.
Have you read the article on choosing a solver? http://www.mathworks.com/help/simulink/ug/choosing-a-solver.html
iyad salameh
iyad salameh on 19 May 2015
Edited: iyad salameh on 19 May 2015
i have the exact same problem and this is my model and the embedded function file code. Here i'm modeling a falling object with air resistance and it should bounce off the ground.
<<
>>

Sign in to comment.

Answers (0)

Categories

Find more on Problem-Based Optimization Setup in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!