Change forces in Matlab
Posted: Tue Mar 26, 2019 5:44 am
Hello, I would like to know how may I change a force through Matlab code.
I know that for torques is:
But I would like to apply a force in a specific direction and in a specific point in a body. I would also like to change it at each iteration.
I appreciate any help with this matter.
I know that for torques is:
Code: Select all
osimModel.updActuators().get('gear_load').addInControls(Vector(1, controlActionLoad(controlIteration)), modelControls);
I appreciate any help with this matter.