function [S]=mexBM_from_setting(S,S0); % function creates statistics "S" from given structure S0. % % This example is extremely simple - BM does not have any attributes of its own % % Compulsory attributes are: % S0.name = "..."; % optional name % S0.drv = struct('names',...,'sizes',...) % ID of input signals (see object RV) % S0.rv = struct('names',...,'sizes',...) % ID of posterior values (see object RV) % S0.posterior = struct('mu0',...) % initial value of statistics (is processed by mexEpdf) S.posterior=struct(); % create empty structure for posterior