Skip to Main Content Skip to Search
Product Documentation

fipref - Construct fipref object

Syntax

P = fipref
P = fipref(...'PropertyName',PropertyValue...)

Description

You can use the fipref constructor function in the following ways:

The properties of the fipref object are listed below. These properties are described in detail in fipref Object Properties.

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.

Examples

Example 1

Type

P = fipref

to create a default fipref object.

P =
 
         NumberDisplay: 'RealWorldValue'
    NumericTypeDisplay: 'full'
         FimathDisplay: 'full'
           LoggingMode: 'Off'
      DataTypeOverride: 'ForceOff'

Example 2

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'

See Also

fi | fimath | numerictype | quantizer | savefipref

  


Free Early Verification Kit

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-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS