I tried to analyze initialize port setting in reference model. During model in loop it works fine but its functionality not understanding. During code generation wit ert.tlc and autosar.tlc it is giving below error :
The top model '__________' contains the model block '________' which has one or more of its Initialize, Reset or Terminate ports enabled. Code generated is not supported for such models.
Need c code for reference model initialize port setting to iinitialize function call subsystem. If we use trigger or enable it holds previous value instead of initial output. But we use initialize port with reference model block holds initial value till next change at output.