Real-Time Windows Target    

Third Party C Compiler

Real-Time Windows Target requires one of the following C compilers not included with 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

    MATLAB displays the following message.

  1. Type

    MATLAB displays the following message.

  1. Type a number. For example, to select the Microsoft compiler, type

    MATLAB displays the message.

  1. Type

    MATLAB resets the default compiler and displays the message.


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