Set Parameters for Batch Job of Simulink
1. Enter the executable file name and the installation directory of the MATLAB program.
2. Enter the name of Simulink model that is built for the co-simulation with RecurDyn.
3. Enter the name of M file to run Simulink model to be used for the batch job of Simulink model and click Export.
Figure 1 Run Simulink Model of Cosim dialog box
Note
The exported data includes the simulation time of Analysis dialog box. So, check the end time before export m file.