lenght of delay blocks changed

1 次查看(过去 30 天)
Maarten Rink
Maarten Rink 2024-1-30
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....

回答(1 个)

Umang Pandey
Umang Pandey 2024-2-7
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

类别

Help CenterFile Exchange 中查找有关 Model, Block, and Port Callbacks 的更多信息

标签

产品


版本

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by