Matlab/simulink - Is there any block with only two states

I would like a block which can manually generate 1 or 0. I need it because I want to manually turn off and turn on something

 채택된 답변

Ilham Hardy
Ilham Hardy 2013년 4월 3일

0 개 추천

i usually use two constant blocks and a switch. The first constant block is 1 and the other is 0.
Then you can use switch to alter the state.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by