Process a Real-Time Application by Using Simulink Real-Time Explorer

You can create a real-time application for later downloading.

  1. In Simulink® Editor, from the Real-Time tab, click Hardware Settings.

  2. Under the Code Generation node, select the Simulink Real-Time Options node.

  3. Clear the Automatically download application after building check box.

  4. From the Real-Time tab, click Run on Target.

Load a Preexisting Real-Time Application

After you have built a real-time application, you can load it from the build folder.

  1. In MATLAB®, navigate to the build folder.

  2. In the Simulink Editor, open Simulink Real-Time Explorer. In the Real-Time tab, from the Prepare section, click SLRT Explorer.

  3. In the Targets pane, click the required target computer icon and then click the Connect button. The target computer icon turns Connected .

  4. Do one of the following:

    • From the build folder, drag the prebuilt real-time application DLM file to the target computer icon.

    • Right-click the target computer icon and click Load. In the DLM Application Selector dialog box, enter or browse to the prebuilt application DLM file.

Unload a Real-Time Application from the Target Computer

To remove a real-time application from the target computer:

  1. In the Simulink Editor, open Simulink Real-Time Explorer. In the Real-Time tab, from the Prepare section, click SLRT Explorer.

  2. Right-click the target computer icon and click Unload.

  3. In the Targets pane, click the target computer icon and click the Disconnect button. The target computer icon turns Disconnected .

Related Topics