Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To display the Fixed-Point Blockset library, type fixpt at the MATLAB prompt or select the Fixed-Point Blockset in the Simulink Library Browser. The Fixed-Point Blockset library is shown below.

...

Fixed-Point Blocks

The Fixed-Point Blockset blocks are grouped into the following categories based on usage.

Math Blocks

Block Name

Description

FixPt Absolute Value

Output the absolute value of the input.

FixPt Constant

Generate a constant value.

FixPt Dot Product

Generate the dot product.

FixPt Gain

Multiply the input by a constant.

FixPt Matrix Gain

Multiply the input by a constant matrix.

FixPt MinMax

Output the minimum or maximum input value.

FixPt Product

Multiply or divide inputs.

FixPt Sign

Indicate the sign of the input.

FixPt Sum

Add or subtract inputs.

FixPt Unary Minus

Negate the input.

Conversion Blocks

Block Name

Description

FixPt Conversion

Convert from one Fixed-Point Blockset data type to another.

FixPt Conversion Inherited

Convert from one Fixed-Point Blockset data type to another, and inherit the data type and scaling.

FixPt Data Type Propagation

Configure the data type and scaling of the propagated signal based on information from the reference signals.

FixPt Gateway In

Convert a Simulink data type to a Fixed-Point Blockset data type.

FixPt Gateway In Inherited

Convert a Simulink data type to a Fixed-Point Blockset data type, and inherit the data type and scaling.

FixPt Gateway Out

Convert a Fixed-Point Blockset data type to a Simulink data type.

Look-Up Table BlocksĀ 

Block Name

Description

FixPt Dynamic Look-Up Table

Approximate a one-dimensional function using a selected look-up method and a dynamically specified table.

FixPt Look-Up Table

Approximate a one-dimensional function using a selected look-up method.

FixPt Look-Up Table (2D)

Approximate a two-dimensional function using a selected look-up method.

Logical and Comparison Blocks

Block Name

Description

FixPt Bitwise Operator

Perform the specified bitwise operation on the inputs.

FixPt Dead Zone

Provide a region of zero output.

FixPt Logical Operator

Perform the specified logical operation on the inputs.

FixPt Multiport Switch

Switch output between different inputs based on the value of the first input.

FixPt Relational Operator

Perform the specified relational operation on the inputs.

FixPt Relay

Switch output between two constants.

FixPt Saturation

Bound the range of the input.

FixPt Switch

Switch output between the first input and the third input based on the value of the second input.

Discrete Time Blocks

Block Name

Description

FixPt FIR

Implement a fixed-point finite impulse response (FIR) filter.

FixPt Integer Delay

Delay a signal N sample periods.

FixPt Tapped Delay

Delay a scalar signal multiple sample periods, and output all the delayed versions.

FixPt Unit Delay

Delay a signal one sample period.

FixPt Zero-Order Hold

Implement a zero-order hold of one sample period.

...