Simulink - Forward Euler Backward Euler

4 views (last 30 days)
JOKY JOKE
JOKY JOKE on 22 Dec 2011
Hi,
I am using a discrete integrator in an enabled or in an enabled and triggered subsystem. If I use Forward Euler, the first integration step in the enabled and triggered subsystem is wrong, whereas in the triggered subsystem it is right. If I use backward Euler integration, it is right in both ways. Why does the forward Euler integration in a triggered and enabled subsystem yield a wrong result in the first step?
Thank you

Answers (1)

Guy Rouleau
Guy Rouleau on 22 Dec 2011
This really looks like you are affected by the following bug:
Try setting the diagnostic "Underspecified initialization detection" to Simplified:

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!