inserting code in sim-mechanics model

1 Ansicht (letzte 30 Tage)
Abhilasha Saksena
Abhilasha Saksena am 21 Dez. 2011
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.

Akzeptierte Antwort

Guy Rouleau
Guy Rouleau am 22 Dez. 2011
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.

Weitere Antworten (0)

Kategorien

Mehr zu Simscape Multibody finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by