www.gusucode.com > fixedpoint 案例源码程序 matlab代码 > fixedpoint/SetPropertiesOfAFimathObjectExample.m

    %% Set Properties of a fimath Object
% Set properties of a fimath object at the time of object creation by including properties after the arguments of the 
% fimath constructor function. For example, set the overflow action to Saturate and the rounding method to Convergent.

% Copyright 2015 The MathWorks, Inc.

F = fimath('OverflowAction','Saturate','RoundingMethod','Convergent')