https://uk.mathworks.com/help/fixedpoint/ug/overflow-handling-and-rounding-methods.html
Overflow Handling and Rounding Methods - MATLAB & Simulink
Discusses the tokens you can use to define overflow handling and rounding methods in your fixed-point S-function, and describes the overflow logging structure.
overflow handlingrounding methodsmatlabsimulink