Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Answers (1)

Ryan G
Ryan G on 17 Jul 2012
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.

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!