
loc_seq_num = 0;

while(1)
   if(MaxSeqNum > loc_seq_num) 
      num2str(CircBuff(MaxSeqNum-1,:))
      loc_seq_num = MaxSeqNum;
   end
end