Vehicle body with variable mass

Hello,
For the moment I'm using the block 'vehicle body' of simdriveline. The parameter 'Mass' is fixed in this block, for my simulations I would like to make this parameter variable.
What would be the best way to make it possible to change the mass during simulation?
Thanks, Stijn

Respuestas (1)

pietro
pietro el 13 de Mayo de 2013

0 votos

by code using the command "set_param" like this: set_param('model/Vehicle Body block','Mass','1')
Hope this helps
cheers
Pietro

Categorías

Más información sobre Tires and Vehicles en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 30 de Abr. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by