function [S]=mexBM_bayes(S,dt); % function updates statistics "S" of the corresponding object by measured data vector dt % check... S.m=S.m+dt;