hexagon logo

How can I control joint forces in Matlab?

I would like to control the joint forces (no need for torque) in Adams Car-Matlab cosim. For example, a joint force in x, y, and z directions are 50, 150, and 200 N, respectively. When I use the gain function in Matlab, I would like to be able to make them 1, 3, and 4 N, respectively. How can I do that?