how to change body's mass when model is simulating?

Hello,everyone,i want to know how to change body's mass when model is simulating?if it can be done? how to change it?when i change it use s-function,i can not work.

Réponses (1)

Ryan G
Ryan G le 17 Juil 2012

1 vote

I'm not sure what the implication with the s-function is, however, there is the variable mass and inertia block that you can connect to a CS port on a SimMechanics block to vary the mass.

Catégories

Question posée :

le 17 Juil 2012

Community Treasure Hunt

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

Start Hunting!

Translated by