Hey
The issue arises because when using 'ExplicitReceive' mode, Simulink automatically buffers the data to ensure simulation and code behavior match. This often results in an additional variable in the generated code.
You can refer to following links for more infromation: