Fixed-Point Blockset | ![]() ![]() |
Bits
Bit Clear
Set the specified bit of the stored integer to zero
Bit Set
Set the specified bit of the stored integer to one
Bitwise Operator
Perform the specified bitwise operation on the inputs
Shift Arithmetic
Arithmetically shift the bits and/or the radix point of a signal
Calculus
Accumulator
Compute a cumulative sum
Accumulator Resettable
Compute a cumulative sum with external Boolean reset
Accumulator Resettable Limited
Compute a limited cumulative sum with external Boolean reset
Derivative
Compute a discrete time derivative
Difference
Calculate the change in a signal over one time step
Integrator Backward
Perform discrete-time integration of a signal using the backward method
Integrator Backward Resettable
Perform discrete-time integration of a signal using the backward method, with external Boolean reset
Integrator Backward Resettable Limited
Perform discrete-time limited integration of a signal using the backward method, with external Boolean reset
Integrator Forward
Perform discrete-time integration of a signal using the forward method
Integrator Forward Resettable
Perform discrete-time integration of a signal using the forward method, with external Boolean reset
Integrator Forward Resettable Limited
Perform discrete-time limited integration of a signal using the forward method, with external Boolean reset
Integrator Trapezoidal
Perform discrete-time integration of a signal using the trapezoidal method
Integrator Trapezoidal Resettable
Perform discrete-time integration of a signal using the trapezoidal method, with external Boolean reset
Integrator Trapezoidal Resettable Limited
Perform discrete-time limited integration of a signal using the trapezoidal method, with external Boolean reset
Sample Rate Probe
Output weighted sample rate
Sample Time Add
Add the input signal to weighted sample time
Sample Time Divide
Divide the input signal by weighted sample time
Sample Time Multiply
Multiply the input signal by weighted sample time
Sample Time Probe
Output weighted sample time
Sample Time Subtract
Subtract weighted sample time from the input signal
Data Type
Conversion
Convert from one Fixed-Point Blockset data type to another
Conversion Inherited
Convert from one Fixed-Point Blockset data type to another, and inherit the data type and scaling
Data Type Duplicate
Set all inputs to the same data type
Data Type Propagation
Configure the data type and scaling of the propagated signal based on information from the reference signals
Gateway In
Convert a Simulink data type to a Fixed-Point Blockset data type
Gateway In Inherited
Convert a Simulink data type to a Fixed-Point Blockset data type, and inherit the data type and scaling
Gateway Out
Convert a Fixed-Point Blockset data type to a Simulink data type
Scaling Strip
Remove scaling and map to a built in integer
Delays & Holds
Integer Delay
Delay a signal N sample periods
Tapped Delay
Delay a scalar signal multiple sample periods and output all the delayed versions
Unit Delay
Delay a signal one sample period
Unit Delay Enabled
Delay a signal one sample period, if the external enable signal is on
Unit Delay Enabled External IC
Delay a signal one sample period, if the external enable signal is on, with an external initial condition
Unit Delay Enabled Resettable
Delay a signal one sample period, if the external enable signal is on, with an external Boolean reset
Unit Delay Enabled Resettable External IC
Delay a signal one sample period, if the external enable signal is on, with an external Boolean reset and initial condition
Unit Delay External IC
Delay a signal one sample period, with an external initial condition
Unit Delay Resettable
Delay a signal one sample period, with an external Boolean reset
Unit Delay Resettable External IC
Delay a signal one sample period, with an external Boolean reset and initial condition
Unit Delay With Preview Enabled
Output the signal and the signal delayed by one sample period, if the external enable signal is on
Unit Delay With Preview Enabled Resettable
Output the signal and the signal delayed by one sample period, if the external enable signal is on, with an external Boolean reset
Unit Delay With Preview Enabled Resettable External RV
Output the signal and the signal delayed by one sample period, if the external enable signal is on, with an external RV reset
Unit Delay With Preview Resettable
Output the signal and the signal delayed by one sample period, with an external Boolean reset
Unit Delay With Preview Resettable External RV
Output the signal and the signal delayed by one sample period, with an external RV reset
Zero-Order Hold
Implement a zero-order hold of one sample period
Edge Detect
Detect Change
Detect a change in a signal's value
Detect Decrease
Detect a decrease in a signal's value
Detect Fall Negative
Detect a falling edge when the signal's value decreases to a strictly negative value, and its previous value was nonnegative
Detect Fall Nonpositive
Detect a falling edge when the signal's value decreases to a nonpositive value, and its previous value was strictly positive
Detect Increase
Detect an increase in a signal's value
Detect Rise Nonnegative
Detect a rising edge when a signal's value increases to a nonnegative value, and its previous value was strictly negative
Detect Rise Positive
Detect a rising edge when a signal's value increases to a strictly positive value, and its previous value was nonpositive
Filters
Filter Direct Form I
Implement a Direct Form I realization of a filter
Filter Direct Form I Time Varying
Implement a time varying Direct Form I realization of a filter
Filter Direct Form II
Implement a Direct Form II realization of a filter
Filter Direct Form II Time Varying
Implement a time varying Direct Form II realization of a filter
Filter First Order
Implement a discrete-time first order filter
Filter Lead or Lag
Implement a discrete-time lead or lag filter
Filter Real Zero
Implement a discrete time filter that has a real zero and no pole
FIR
Implement a fixed-point finite impulse response (FIR) filter
State-Space
Implement discrete-time state space
Logic & Comparison
Compare to Constant
Determine if a signal is equal to the specified constant
Compare To Zero
Determine if a signal is equal to zero
Interval Test
Determine if a signal is in a specified interval
Interval Test Dynamic
Determine if a signal is in a specified interval
Logical Operator
Perform the specified logical operation on the inputs
Relational Operator
Perform the specified relational operation on the inputs
LookUp
Cosine
Implement a cosine function in fixed-point using a lookup table approach that exploits quarter wave symmetry
Look-Up Table
Approximate a one-dimensional function using a selected lookup method
Look-Up Table Dynamic
Provide a region of zero output
Look-Up Table (2-D)
Approximate a two-dimensional function using a selected lookup method
Sine
Implement a sine function in fixed-point using a lookup table approach that exploits quarter wave symmetry
Math
Abs
Output the absolute value of the input
Add
Add two inputs
Decrement Real World
Decrease the real world value of the signal by one
Decrement Stored Integer
Decrease the stored value of a signal by one
Decrement Time To Zero
Decrease the real world value of the signal by the sample time, but only to zero
Decrement To Zero
Decrease the real world value of a signal by one, but only to zero
Divide
Divide the first input by the second input
Dot Product
Generate the dot product of two input vectors
Gain
Multiply the input by a constant
Increment Real World
Increment Stored Integer
Increase the stored integer value of a signal by one
Matrix Gain
Multiply the input by a constant matrix
MinMax
Determine the minimum or maximum input value
MinMax Running Resettable
Determine the minimum or maximum of a signal over time
Multiply
Multiply two inputs
Multiply Matrix
Multiply two input matrices
Product
Multiply or divide inputs
Product of Elements
Collapse the input vector by multiplying all elements
Product of Elements Inverted
Collapse the input vector by dividing all elements
Subtract
Subtract the second input from the first input
Sum
Add or subtract inputs
Sum of Elements
Collapse the input vector by adding all elements
Sum of Elements Negated
Collapse the input vector by subtracting all elements
Unary Minus
Negate the input
Nonlinear
Dead Zone
Provide a region of zero output
Dead Zone Dynamic
Set the input within the bounds to zero
Rate Limiter
Limit the rising and falling rates of the signal
Rate Limiter Dynamic
Limit the rising and falling rates of the signal
Relay
Switch output between two constants
Saturation
Bound the range of the input
Saturation Dynamic
Bound the range of the input
Sign
Indicate the sign of the input
Wrap To Zero
Set output to zero if input is above threshold
Select
Index Vector
Output the element of the input vector that corresponds to the value of the control input
Multi-Port Switch
Switch output between different inputs based on the value of the first input
Switch
Switch output between the first input and the third input based on the value of the second input
Sources Count up and overflow back to zero after the maximum value possible is reached for the specified number of bits
Constant
Generate a constant value
Counter Free
Counter Limited
Count up, and wrap back to zero after outputting the specified upper limit
Repeating Sequence Interpolated
Output a discrete-time sequence and repeat, interpolating between data points
Repeating Sequence Stair
Output a discrete time sequence and repeat
![]() | Block Reference | Overview of the Block Reference Pages | ![]() |