At the command line, try
which -all bin2dec
It appears to me that you have your own bin2dec.m file that is overriding the MATLAB-supplied bin2dec.
Also, please put a breakpoint at that particular line of Arith_Code, and verify that class(e8bits) is char