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:
MATLAB displays the following message.
Please choose your compiler for building external interface (MEX) files. Would you like mex to locate installed compilers?([y]/n):
MATLAB displays the following message.
Select a compiler: [1] : WATCOM compiler in c:\watcom [2] : Microsoft compiler in c:\visual [0] : None Compiler:
Please verify your choices: Compiler: Microsoft 5.0 Location: c:\visual Are these correct?([y]/n)
MATLAB resets the default compiler and displays the message.
The default options file: "C:\WINNT\Profiles\username\Application Data\MathWorks\MATLAB\mexopts.bat" is being updated.
![]() | Setting the Working Directory from Within MATLAB | Real-Time Windows Target Kernel | ![]() |