differential equations

2 Ansichten (letzte 30 Tage)
Natalia
Natalia am 8 Mär. 2011
To solve a problem by means of debugging it was not possible. The compiler has shown nothing... In an error it is written "either by reducing the fixed step size or by tightening the error tolerances"... How can I reduce the fixed step size?
And prompt please, can to solve my problem as it is described here http://www.mathworks.com/help/toolbox/simulink/ug/f11-69449.html My model solves system of the differential equations which are already resulted in the form of Koshi (18 equations). The error arises probably because there is no decision...
  1 Kommentar
Natalia
Natalia am 9 Mär. 2011
Nobody faced such problem?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Seth Popinchalk
Seth Popinchalk am 29 Mär. 2011
Fixed step size is a solver setting under Configuration Parameters on the Solver page. If you are running a continuous model with a fixed step solver and getting an error or a derivative going to infinity, you may have a singularity in the system.
Try running the model using a variable step solver.
  1 Kommentar
Natalia
Natalia am 2 Apr. 2011
Thanks you for the answer, but in a code which I have written, there was an error. S-function works.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by