An example for cpp code to call Matlab functions, built with CMake in Linux.