function [mea]=mexEpdf_set(S); % function returns mean value of corresponending structure % maybe some testing of validity? mea = S.m;