How can I solve delay differential equations (DDEs) with constant delays in Simulink 6.6 (R2008a)?

1 view (last 30 days)
I realized in MATLAB there is a special solver (dde23) for solving delay differential equations (DDEs) with constant delays.
Since there is no such special DDE solver in Simulink is it possible to solve DDEs in Simulink?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
There is no such DDE solver or a built-in Simulink demo showing how to model a DDE. However, you could use the Simulink ODE solvers and implement the constant delay using the 'Variable Time Delay' block.
In MATLAB, the DDEX1 function is an example of modeling a DDE. Please refer to the attached example model to find an equivalent Simulink implementation.
For an example on how to model a simple differential equation you may also refer to the Simulink documentation by executing the follwing at your MATLAB prompt:
web([docroot '/toolbox/simulink/ug/bra559w-1.html'])

More Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Products


Release

R2008a

Community Treasure Hunt

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

Start Hunting!