Memory Initialization
●
●
Compile Time, Static
Enables initialization of the data in the model using static initialization at the data allocation location.
●
Run Time, Dynamic
Enables initialization of all the data in the model through a call to the macroRESET_DATA
in theTASKINIT
function.
TheRESET_DATA
macro uses the functionmemset
which should be defined in the environment. If this function is not defined, you can define the macroAVOID_MEMSET
and use the functionrimc_mem_set
which is defined in the file <profile-name>.c.
●
●
Compile Time, Static
Enables initialization of the data in the model using static initialization at the data allocation location.
●
Run Time, Dynamic
Enables initialization of all the data in the model through a call to the macroRESET_DATA
in theTASKINIT
function.
TheRESET_DATA
macro uses the functionmemset
which should be defined in the environment. If this function is not defined, you can define the macroAVOID_MEMSET
and use the functionrimc_mem_set
which is defined in the file