| Using Stateflow | Search  Help Desk |
Setting Up Build Tools on Windows
The Microsoft Windows version of Stateflow comes with a C compiler (lcc.exe) and make utility (lccmake). Both tools are installed in the directory matlabroot\sys\lcc. If you have not configured MATLAB to use any other compiler, Stateflow uses lcc to build targets. Thus, you do not have to perform any tool setup to build targets with the Windows version of Stateflow. If you want to use a compiler other than lcc, however, you must do some initial setup.
To use a compiler other than lcc:
..lcc to build other targets, first set up MATLAB to use the compiler you supply. Then, check the Use lcc compiler option on the Coder dialog (see "Coder Options") for each target that you want to be built with lcc.