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

2 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by