Creating a simulink signal with Boolean datatype
이전 댓글 표시
I am very new to working with Simulink, so I apologize if this is a very basic question that am not getting. I built a subsystem structure and there are a few signals that are of Boolean datatype. True = 1 and False = 0. This signal will go into a switch block along with a constant to determine the output signal.
Is the True/False handled in the switch block or is there something I need to do with the input signal in order to have this switch properly executed? Is there a script that can be produced to handle this type of signal?
I have attached a snip of the structure with a signal (and dialog box for the signal).
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!