Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Avoid repeating value in simulink

4 Ansichten (letzte 30 Tage)
mike
mike am 8 Mär. 2018
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I need to use logic block relational operator in simulink to compare between the signal value and constant array if the one value of the array == the signal do something if not don't do any thing
the purpose is to avoid repeating same value --> Is x== ( one of the array )--> yes--> choose different value no --> leave it
  1 Kommentar
Krishna Bindumadhavan
Krishna Bindumadhavan am 15 Mär. 2018
It looks like that you may be looking for the switch block (https://www.mathworks.com/help/simulink/slref/switch.html).
You can probably use the output of the relational operator block as the second input to the switch block.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by