hexagon logo

ADAMS/Simulink Cosimulation: How to deactivate a motion or joint in ADAMS during a cosimulation?

Hello,
 
I'm running an ADAMS/Simulink Cosimulation and would like to deactivate a motion or joint after a set time.
 
Typically I do this in ADAMS through the simulation script "deactivate" command but can't find a way to do this during a cosimulation.
 
Any suggestions would be a great help.
joseph.