| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Fixed-Point Toolbox |
| Contents | Index |
| Learn more about Fixed-Point Toolbox |
P = fipref
P = fipref(...'PropertyName',PropertyValue...)
You can use the fipref constructor function in the following ways:
P = fipref creates a default fipref object.
P = fipref(...'PropertyName',PropertyValue...) allows you to set the attributes of a object using property name/property value pairs.
The properties of the fipref object are listed below. These properties are described in detail in fipref Object Properties.
FimathDisplay — Display options for the fimath attributes attached to a fi object. When fi objects are associated with the global fimath, their fimath attributes are never displayed.
DataTypeOverride — Data type override options.
LoggingMode — Logging options for operations performed on fi objects.
NumericTypeDisplay — Display options for the numeric type attributes of a fi object.
NumberDisplay — Display options for the value of a fi object.
Your fipref settings persist throughout your MATLAB session. Use reset(fipref) to return to the default settings during your session. Use savefipref to save your display preferences for subsequent MATLAB sessions.
See Display Settings in the Fixed-Point Toolbox User's Guide for more information on the display preferences used for most code examples in the documentation.
Type
P = fipref
to create a default fipref object.
P =
NumberDisplay: 'RealWorldValue'
NumericTypeDisplay: 'full'
FimathDisplay: 'full'
LoggingMode: 'Off'
DataTypeOverride: 'ForceOff'You can set properties of fipref objects at the time of object creation by including properties after the arguments of the fipref constructor function. For example, to set NumberDisplay to bin and NumericTypeDisplay to short,
P = fipref('NumberDisplay', 'bin', 'NumericTypeDisplay', 'short')
P =
NumberDisplay: 'bin'
NumericTypeDisplay: 'short'
FimathDisplay: 'full'
LoggingMode: 'Off'
DataTypeOverride: 'ForceOff'
fi, fimath, numerictype, quantizer, savefipref
![]() | fimath | fix | ![]() |

Learn how to apply early verification to your development process through these technical resources.
How much time do you spend on testing to ensure implementation meets system-level requirements?
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |