INFO:
See a demonstration of the most frequently used ways to integrate external simulation components with Simulink and the benefits of using Simulink as the integration platform for system-level simulations.
Integrating External Simulation Components with Simulink - MATLAB