Skip to Main Content Skip to Search
Product Documentation

CastBeforeSum - Enable or disable type casting of input values for addition and subtraction operations

Settings

'off' (default)

Preserve the types of input values during addition and subtraction operations and then convert the result to the result type.

'on'

Type cast input values in addition and subtraction operations to the result type before operating on the values. This setting produces numeric results that are typical of DSP processors.

The CastBeforeSum property is related to the FDATool setting for the quantization property Cast signals before accum. as follows:

See Also

Specifying Input Type Treatment for Addition and Subtraction Operations, InlineConfigurations, LoopUnrolling, SafeZeroConcat, UseAggregatesForConst, UseRisingEdge, UseVerilogTimescale

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS