Real-Time Windows Target    

Third Party C Compiler

The Real-Time Windows Target requires one of the following C compilers not included with the Real-Time Windows Target:

After installation, run the MEX utility to select your compiler as the default compiler for building real-time applications.

Selecting a Default C Compiler

Real-Time Workshop uses the default C compiler to generate executable code, and the MEX utility uses this compiler to create MEX-files.

Use this procedure to select either a Microsoft Visual C/C++ compiler or a Watcom C/C++ compiler before you build an application. Note, the LCC compiler is not supported:

  1. In the MATLAB window, type
  1. MATLAB displays the following message:

  1. Type
  1. MATLAB displays the following message:

  1. Type a number. For example, to select the Microsoft compiler, type
  1. MATLAB displays the message:

  1. Type
  1. MATLAB resets the default compiler and displays the message:


  Setting the Working Directory from MATLAB Real-Time Windows Target Kernel