Clear Filters
Clear Filters

lenght of delay blocks changed

1 view (last 30 days)
Maarten Rink
Maarten Rink on 30 Jan 2024
Answered: Umang Pandey on 7 Feb 2024
If you are using delay blocks, the value wich indicated the lenght of the delay is called lenght. I figured at first 10 ment 1 sec.
Now for some reason, the whole model lookes slowed down, like 10 means 2.5 seconds or something close to that.
It isn't lagg but just slowed down. The solver timer does move at normal speed so something weird is going on.
Is there a setting to adjust this because my model uses a lot of delay blocks....

Answers (1)

Umang Pandey
Umang Pandey on 7 Feb 2024
Hi Maarten,
The "Delay" block determines delay time based on the value of the "Delay length" parameter. However, the output in the first few time steps of the simulation depends on the block sample time, the delay length, and the simulation start time.
Refer to the following documentation to understand how the Delay block works:
Best,
Umang

Categories

Find more on General Applications in Help Center and File Exchange

Tags

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!