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.

Antworten (1)

Ryan G
Ryan G am 17 Jul. 2012

1 Stimme

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.

Kategorien

Mehr zu Simscape Multibody finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 17 Jul. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by