Extract MSB
R2026bLibraries:
Fixed-Point Designer HDL Support /
Logic and Bit Operations
Description
The Extract MSB block allows you to extract the most significant bit (MSB)
from the stored integer value of the input signal. For a signed input, the Extract
MSB block returns the sign bit. If the input is a built-in integer or fixed-point
data type, the output is returned as a ufix1 type. Floating-point inputs
are passed through the block unchanged.
Examples
Ports
Input
Output
Extended Capabilities
Version History
Introduced in R2026b

