Enabling on/off coordination between JTC and simulink