How i can adjust the transmission times of my signals

2 Ansichten (letzte 30 Tage)
Pavel
Pavel am 14 Nov. 2022
Kommentiert: Pavel am 18 Nov. 2022
Hi how can I adjust the transmission times of my signals in the model.
E.g. signal A is sent every 10 ms and signal B: every 20 ms, whereby the statement of signal B depends on signal A. In the 10 ms that signal b does not send, the content of signal A should be ignored.
  2 Kommentare
Benjamin Campbell
Benjamin Campbell am 14 Nov. 2022
You haven't attached any model for us to see?
Pavel
Pavel am 14 Nov. 2022
Hi, @Benjamin Campbell thanks for the reply,
I have assembled a small model, hope that is understandable.
BR

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Yogesh
Yogesh am 18 Nov. 2022
I have utilised an "enable block" alongside a "cast to Boolean" block to solve this, attaching a screenshot so that you can better understand the workflow.
Hope this helps!

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by