/*!
\page mex_bdm  Use Case #3: combining Matlab classes and BDM classes

The classes written in Matlab can be combined with standard BDM classes via corresponding C++ classes with equal names, i.e. mexBM.m is accepted by C++ class mexBM

The class bdm::mexEpdf has the following Matlab structure:
\code
class = 'mexEpdf';
object = any_mexEpdf_object;
\endcode

This clas acts as an interface between BDM objects of type bdm::epdf and Matlab objects of type mexEpdf.

Example:
\code
clear all

f.class = 'mexEpdf';
f.object = mexLaplace;
f.object.mu =12;
f.object.b = 1;
f.object.rv = RV('b',1);


DS.class='EpdfDS';
DS.epdf =f; %U

experiment.ndat=10;

M=simulator(DS,experiment);

M.DS_dt_b
\endcode

Here, Matlab class mexLaplace is created and plugged in as attribute \c object of bdm class 'mexEpdf'.
Class bdm::EpdfDS accepts this kind of object and perfroms its task, i.e. it generates samples from the density.


*/
