How limit my pendulum model angle from -pi to pi ?

Hi
I have a pendulum model that i imported from Solidworks to Simulink
I want to limit the output angle to be -pi < theta < +pi
what i need to do ?
tnx! :)

Answers (1)

If you want to model a pendulum that moves freely in the range -pi < theta < +pi but bounces back at these limits, you can define lower and upper limits within the Revolute Joint block. The limits will then be modelled as spring-damper elements.
This option is also available in other joint blocks.

Products

Release

R2021b

Asked:

on 2 Dec 2021

Answered:

on 17 Dec 2021

Community Treasure Hunt

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

Start Hunting!