How i can adjust the transmission times of my signals

1 vue (au cours des 30 derniers jours)
Pavel
Pavel le 14 Nov 2022
Commenté : Pavel le 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 commentaires
Benjamin Campbell
Benjamin Campbell le 14 Nov 2022
You haven't attached any model for us to see?
Pavel
Pavel le 14 Nov 2022
Hi, @Benjamin Campbell thanks for the reply,
I have assembled a small model, hope that is understandable.
BR

Connectez-vous pour commenter.

Réponse acceptée

Yogesh
Yogesh le 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!

Plus de réponses (0)

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by