Simscape Multibody - model does not react to slider gain changes without stopping and starting the simulation again
Afficher commentaires plus anciens
Hi,
i am trying to make a simple mechanism in Simscape Multibody. A fixed platform with a rotating leg. I would like that the rotation is controlled by the user, with a slider gain. The result is viewed in Mechanics Explorer. However the changes in the gain are taken into account ONLY when I stop the simulation and then start it again. The animation viewed in Mechanics Explorer does not display the changes.
I have connected a scope to the Sensing (position) output of the joint and it does display the changing gain, but the joint is not moving.
When i replace the source with a sine wave, the joint rotates corectly.
Any ideas what is wrong? Model is attached.
Martin

Réponse acceptée
Plus de réponses (1)
Martin Novak
le 24 Mai 2021
0 votes
Catégories
En savoir plus sur Applications dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!