An M-File exports some files. Those are M file and Motion model files. The Motion library for Matlab/Simulink is created using exported files. The Motion library includes a list of S-Input, S-Output and interface time steps. MATLAB/Simulink communicates through the Motion library during simulation.
Remarks
Refer to supported MATLAB/Simulink versions in Figure 1.5: Available versions of other software in the Motion Preprocessor .