MATLAB: Connecting 2nd gen blocks to 1st gen

Simscape Multibodysimulink

In the user manual it says the two types of blocks can be connected through a simulink signal.. how does this work exactly?
I have a model built with all first generation blocks and am trying to add Angle constraint and External Force blocks.

Best Answer

I'm not sure you would need or want to use 2nd generation for something like this. Reason being is I believe you will be adding more complexity to your system by switching between the two which should be avoided if not necessary.
You can use something like an Angle Driver instead and add an actuator port.
If you must attempt this you can use a sensor block, such as body sensor, on 1st gen and a combination Simscape-PS Converter connected to the External Force and Torque block. The Converter is needed because the input force is expected to be simscape instead of simulink like first gen.