Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Avoid repeating value in simulink
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
Krishna Bindumadhavan
2018 年 3 月 15 日
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.
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!