Simple example of how to interface Matlab to existing C/C++ code.