Real-Time Windows Target    

Creating a Real-Time Application

Real-Time Workshop generates C code from your Simulink model, then a third-party C compiler compiles and links that C code into a real-time application.

After you enter parameters into the Simulation Parameters dialog box for Real-Time Workshop, you can build a real-time application. This procedure uses the Simulink model rtwin_model.mdl as an example, and assumes you have loaded that model:

  1. In the Simulink window, and from the Tools menu, point to Real-Time Workshop, and then click Build Model.
  1. The build process does the following:

  1. Connect your Simulink model to your real-time application. See Entering Additional Scope Parameters for Signal Tracing.

After you create a real-time application, you can exit MATLAB, start MATLAB again, and then connect and run the executable without having to rebuild.


  Entering Scope Parameters for Signal Tracing Entering Additional Scope Parameters for Signal Tracing