Help me with Matlab & Cuda!

Sometimes, when i try to execute a program which uses CUDA Mex_file, Matlab crashes!!! Why, it’s happens?
Please, HELP ME!!1

Like your previous post, this one includes absolutely no information which may be of assistance in solving the problem.

Most of the people on here will be happy to help you, but they can’t unless you give some details about what exactly you’re doing in the code, how you’ve tried to narrow the problem down, etc.

You have probably written outside the allocated memory, or tried to free a NULL-pointer.