how to give input to sphere to belt forces block in simscape?

2 views (last 30 days)
I gave the input signal from signal builder but there is an error saying "The signal connected to the input port of 'newassm/Sphere to Belt Force/Force BeltM to Sph/Bus Selector1' is not a bus signal. The input to the Bus Selector block must be a virtual or nonvirtual bus signal. A possible cause of this error is the use of a bus-capable block (such as Merge or Unit Delay) that in this current situation is unable to propagate the bus downstream to the block reported in this error. Please see Simulink documentation for further information on composite (i.e. bus) signals and their proper usage." .I also tried using bus creator and signal converter but again an errer was generated.

Answers (1)

Steve Miller
Steve Miller on 16 Jun 2021
Hi Deep,
Look at example Gripper_2Whl.slx. It shows you how to use this block, including how to create the input signal as a bus. We use a bus signal here so that the different signals are guaranteed to get routed to the right spot in the model, even if we add or remove other signals from the bus.
A screenshot from the model is shown below.
Thanks,
--Steve

Categories

Find more on Applications in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!