This is my first file here on file exchange. Improvements and comments are welcome. If you simulate a digital communication system there will be always some biterrors. Doing a XOR operation will result in the different bits. But how many single bit errors, double bit errors and so on are there ? Because I couldn´t find such a function in the simulink library I wrote it by myself. The model takes two bit vectors and delivers a vector with the number of single bit errors, double bit errors and so on.