function b = bitslice(a,lsb,msb)
%BITSLICE Compute a bitfield.
%   B = BITSLICE(A,LSB,MSB) "slices" bits out of the values of
%   the uint8 input array A.  LSB is the least-significant bit of
%   the desired bitfield; MSB is the most-significant bit.
%
%   Examples:
%      bitslice(uint8(255),5,8)
%      ans =
%          15
%      bitslice(uint8(128),7,8)
%      ans =
%           2

%   Copyright 1984-2000 The MathWorks, Inc. 
%   $Revision: 1.7 $  $Date: 2000/07/21 17:51:46 $
%#mex

error('Missing MEX-file BITSLICE');
