lenght of delay blocks changed

1 Ansicht (letzte 30 Tage)
Maarten Rink
Maarten Rink am 30 Jan. 2024
Beantwortet: Umang Pandey am 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....

Antworten (1)

Umang Pandey
Umang Pandey am 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

Kategorien

Mehr zu Model, Block, and Port Callbacks finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by