How do I send two different signals to a single servo based on the button selected?

4 ビュー (過去 30 日間)
Shelly Gruenig
Shelly Gruenig 2015 年 9 月 28 日
回答済み: Walter Roberson 2015 年 9 月 28 日
I have two servo motors hooked up to a claw(left and right). In previous code I use an If-Else logic flow to send two different signals based on the button selected so that the claw opens narrow or wide. I am not sure of the construct needed in Simulink to accomplish the same structure. I can send one signal to the servo with no problems.

回答 (1 件)

Walter Roberson
Walter Roberson 2015 年 9 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by