The UNIX version of Stateflow require a C or C++ compiler for generating code from a Stateflow model. See "Setting Up Target Build Tools" for more information.
Generating code for the Simulink elements of a Stateflow model requires Real-Time Workshop® .