Problem cuFFT and Mex-Files

Greetings,

I’m using the cuFFT library that receives arguments through Mex-Files, but when you try to create the plan FFT generates an unknown exception from MEX. Do you have any idea how to solve?

I am using Matlab 2010b, VS C + + 2010 Pro and CUDA Toolkit 5.0.

Thank you for your attention!