Main Content

Simulink External Mode Interface

To connect your Simulink® model to your real-time application, use the procedure in Execute Real-Time Application in Simulink External Mode by Using Step-by-Step Commands. The model becomes a user interface to the real-time application. By changing parameters in the Simulink blocks, you also change parameters in the real-time application.

The Simulink external mode interface includes:

  • Control — Connect the Simulink block diagram to the real-time application and control real-time application start and stop.

  • Signal acquisition — Establish a communication channel between your Simulink block diagram and your real-time application. The block diagram becomes a user interface to your real-time application. Simulink scopes can acquire signal data from the real-time application.

  • Parameter tuning — Specify external mode and change parameters in the real-time application by changing parameters in the Block Parameters dialog boxes. When you change a value and click OK, the new value is downloaded to the target computer while the real-time application continues to run.

Related Topics