How i can adjust the transmission times of my signals

1 visualización (últimos 30 días)
Pavel
Pavel el 14 de Nov. de 2022
Comentada: Pavel el 18 de Nov. de 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 comentarios
Benjamin Campbell
Benjamin Campbell el 14 de Nov. de 2022
You haven't attached any model for us to see?
Pavel
Pavel el 14 de Nov. de 2022
Hi, @Benjamin Campbell thanks for the reply,
I have assembled a small model, hope that is understandable.
BR

Iniciar sesión para comentar.

Respuesta aceptada

Yogesh
Yogesh el 18 de Nov. de 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!

Más respuestas (0)

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by