Products & Services Solutions Academia Support User Community Company

Learn more about Stateflow   

Choosing a Compiler

You must use a C or C++ compiler for compiling code that you generate. The Windows version of Stateflow software ships with a C compiler (lcc.exe) and a make utility (lccmake). Both tools reside in the folder matlabroot\sys\lcc. If you do not install any other compiler, lcc is the default compiler that builds your targets.

If you use the UNIX version of Stateflow software or do not wish to use the default lcc compiler, you must install your own target compiler. You can use any compiler supported by MATLAB software.

To install your own target compiler:

  1. At the MATLAB prompt, type:

    mex -setup
  2. Follow the prompts for entering information about your compiler.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS