For the synchronous simulation of control design tool and RecurDyn, following five steps are required as shown in Figure 1.
Figure 1 Five-step process
Communication Sequence
8. Make the shared memory and call the Simulink by the RecurDyn, wait the control output (2) of the Simulink.
9. Send the control output from the Simulink, wait the plant output (4) of the RecurDyn.
10. Receive plant inputs (=control output) from the shared memory.
11. Send plant outputs from RecurDyn.
12. Receive the Sensor input (=Plant output) from the shared memory.
Figure 2 Communication Sequence