MotoHawk:Blocks:Fixed Point Constant

From MotoHawk
Jump to navigationJump to search

Fixed-Point Constant

This MotoHawk™ block behaves in simulation like a Constant block, and accepts any Matlab value as its Default Value, including data-typing casts.

Block ID

Fixed Point Constant

Library

MotoHawk_lib/Fixed Point Blocks

Description

Fixed Point Constant.PNG

Create and use a 16-Bit or 32-Bit Fixed Point Constant. For more information, see [../MotoHawk_topics/BScaleFixed.html Fixed Point Values and B Numbers].

Block Parameters

Parameter Field Values Comments/Description
Value Numeric Numeric entry or Matlab expression.
Output B Scale Numeric Supply applicable numeric value for "B" - larger B values increase value range and reduce resolution.
Number of Bits Drop down Selects 16 or 32 bits