Dear Felix
There is a free library managed by MathWorks staff that allow you to connect multibody 3d and Simscape 1d simulation. Basically you need to create a kinematic relationship between joint and 1D motor block from Simscape.
Take a look at this and the various exampe, this will solve your problem: