Input array, specified as a scalar, vector, matrix, or multidimensional
array of fixed-point fi objects. If a has
a signed numerictype, the bit representation of
the stored integer is in two’s complement representation.
Data Types: fixed-point fi
lidx — Start position for slice scalar
Start position of slice specified as a scalar of built-in type. lidx represents
the position in the slice closest to the MSB.
Fixed-point fi output, specified as a scalar,
vector, matrix, or multidimensional array with no scaling. The word
length is equal to slice length, lidx-ridx+1.
If lidx and ridx are equal, bitsliceget only
slices one bit, and bitsliceget(a, lidx, ridx) is
the same as bitget(a, lidx).
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
HDL Code Generation Generate Verilog and VHDL code for FPGA and ASIC designs using HDL Coder™.