I have a DLP kit which I need to control via MATLAB using a C++ API.
Say, I have functions/methods using C/C++ for {load_data, load_settings,display_data}
{load_data, load_settings,display_data}
You might like to take a look at this submission to MATLAB Central. As far as I know it demonstrates best practice, developed with newsgroup advice from many including MathWorkers.
http://www.mathworks.co.uk/matlabcentral/fileexchange/38964-example-matlab-class-wrapper-for-a-c++-class