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:
mymodel_sfun.mak
mymodel_sfun.def
(required for building S-function DLLs)
mymodel_sfun.bmk
mymodel_sfun.def
(required for building S-function DLLs)
lcc-win32
, a bundled ANSI-C compiler shipped with Stateflow, the following file is generated:
Stateflow Coder also generates another support file needed for the make process, named <model>_sfun.mol
.
![]() | Code Files | Debugging and Testing | ![]() |