setTargetProvidesMain
Disable inclusion of code generator provided (generated or static)
main.c
source file during build
Description
setTargetProvidesMain(
disables the code generator from including a sample buildinfo
,providesmain
)main.c
source
file.
To replace the sample main.c
file from the code generator with
a custom main.c
file, call the
setTargetProvidesMain
function during the
'after_tlc'
case in the
ert_make_rtw_hook.m
or grt_make_rtw_hook.m
file.
Examples
Input Arguments
Version History
Introduced in R2009a