I am Integrating Matlab, C and Cuda together in a project. I used Matlab mix in order to connect matlab mx fun