| Stateflow User's Guide | ![]() |
Setting Up Your Own Target Compiler
Building Simulink targets for Stateflow generated code requires a C compiler that MATLAB supports. The Microsoft Windows version of Stateflow comes with a C compiler (lcc.exe) and a make utility (lccmake). Both tools are installed in the directory matlabroot\sys\lcc. If you do not configure MATLAB to use any other compiler, Stateflow uses lcc to build targets.
For other compilers and for all non-Windows platforms, do the following:
| Note Stateflow supports building targets with Microsoft Visual C/C++ 5.0 only if you have installed the Service Pack 3 updates for that product. |
Stateflow uses the compiler that you specify to build MEX-files for building a Stateflow simulation target.
| Stateflow Installation | Using Stateflow on a Laptop Computer | ![]() |
© 1994-2005 The MathWorks, Inc.