Receiving errors about singularities in my Simulink model

조회 수: 1 (최근 30일)
David Vance
David Vance 2019년 3월 21일
편집: David Vance 2019년 3월 21일
If I set all of my configuration parameters to 'auto' and run my model I get the following error, always at time = 1 second.
"Derivative of state '1' in block 'Homework_3/Transfer Fcn' at time 1.0 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)"
I've experimented with different time steps while the solver is set to 'auto' and I am also getting the same error.
I've tried commenting out all of my scopes according to a similar Matlab question and that didn't help.
If I set my Solver to 'ode15s' as recommended by another Matlab question the time step is set absurdly small like 10^-10 and I get a similar error if I try to increase the step size. The code is provided and comes from an in-class example. I've verified with the professor that the blocks are correct but he couldn't come up with any solution to the error either.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Event Functions에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by