MATLAB: Does Embedded Coder create explicit generated code regarding checking the min and max values specified in blocks(i.e. Sum blocks)

Embedded Coder

Does Embedded Coder create explicit generated code regarding checking the min and max values specified in blocks(i.e. Sum blocks)?

Best Answer

Boundary values are implicitly enforced within the generated code, when the "Optimize using the specified minimum and maximum values" configuration parameter is enabled. The bounds are never explicitly generated into code. This can be seen in the following link
This optimization handles the logic so that it may improve code coverge.