Another Question... The default settings in the fixed point toolbox are 'RoundMode' = 'Round' 'OverflowMode' = 'Saturate' Is there anyway to set the defaults at startup such that 'RoundMode' = 'Floor' 'OverflowMode' = 'Wrap'
Fixed Point Toolbox
Started by ●September 15, 2004
Reply by ●September 15, 20042004-09-15
Unfortunately you cannot setup the deafult round and overflows modes to be something else. You could however create a fimath object with your required round and overflow modes & use this fimath in (all ) of the fis that you create: F = fimath(.<your inputs>); a = fi(0,1,16,15); a.fimath = F; "porterboy" <porterboy76@yahoo.com> wrote in message news:c4b57fd0.0409150612.4d568841@posting.google.com...> Another Question... > > The default settings in the fixed point toolbox are > 'RoundMode' = 'Round' > 'OverflowMode' = 'Saturate' > > Is there anyway to set the defaults at startup such that > 'RoundMode' = 'Floor' > 'OverflowMode' = 'Wrap'