- You can use Normal Mode if model acceleration isn't critical, running in Normal simulation mode will allow the block to function properly.
- You can replace the "Variable Time Delay" block with a "MATLAB Function" that manually implements delay behavior using a circular buffer to store past input values and interpolation to estimate the delayed output.
Can Not Use "Variable Time Delay" Module, in a Accelerator Simulink Model.
5 views (last 30 days)
Show older comments
Hi,
I got a Error when running a simulink Model in the "Accelerator" running mode. The details of error is shown below in the image.
After a sort of trouble shooting, I Located that "Variable Time Delay" module in the model causes this Error.
The model running normally if I delete the "Variable Time Delay" module from it, and cannot run if the "Variable Time Delay" module exists.
The "Variable Time Delay" module is a sort of indispensable in my model because of the control algorithm design. And The Accelerator Running mode is crucial as well, because if not ,the model running speed is so slow.
Did anybody else noticed this problem before? Is there any possible solution to solve this problem?


0 Comments
Answers (1)
MULI
on 3 Jun 2025
I understand that you are facing an error when using the "Variable Time Delay" block in Accelerator mode.This "Variable Time Delay" block can cause poor simulation runtime performance when run in the default JIT accelerator mode.
For more information you can refer to below MathWorks documentation link:
You can try the following things to resolve it:
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!