function [S]=mexEpdf_from_setting(S,S0); % function sets structure S by elements of structure S0 % Expected input: % S0.mu0= [...]; % initial vector S.mu =S0.mu;