Stateflow    

Makefiles

Makefiles generated for your model are platform and compiler specific. On UNIX platforms, Stateflow generates a gmake-compatible makefile named mymodel_sfun.mku that is used to compile all the generated code into an executable. On PC platforms, an ANSI C compiler-specific makefile is generated based on your C-MEX setup as follows:

Stateflow Coder also generates another support file needed for the make process, named <model>_sfun.mol.


  Code Files Debugging and Testing