inserting code in sim-mechanics model

How to add functions to Sim-mechanics model. I wish to add functions to control force acting on a body and path planning in a Sim-mechanics model.

 Réponse acceptée

Guy Rouleau
Guy Rouleau le 22 Déc 2011

1 vote

Use Sensor blocks to measure the motion (position, velocity, acceleration of bodies and joints). In Simulink implement any function you want and feed the computed force to SimMechanics using Actuator blocks.

Plus de réponses (0)

Catégories

En savoir plus sur Simscape Multibody dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by