# nvmex error on Matlab 2008a cannot compile sample code on R2008a

Hi,
I am running Matlab 2008a on Win XP SP2 (32-bit), Dell Latitude D830 laptop with Quadro NVS140 card. CUDA toolkit / SDK v1.1 and Visual Studio 2005. I know basic CUDA is working since SDK samples run correctly. However, when I try to compile matlab plugin sample by following the README file, i get the following error:

nvmex -f nvmexopts.bat Szeta.cu -IC:\cuda\include -LC:\cuda\lib -lcufft -lcudart
Undefined subroutine &main::uuidgen called at C:\Program Files\MATLAB\R2008a\bin\nvmex.pl line 728.
??? Error using ==> nvmex at 206
Unable to complete successfully.

I’m not a Perl person (“It’s not encrypted, it’s just Pearl!”). Does anyone have a workaround?

thanks
Greg

I believe someone on the forum has done some work on getting the perl script working in 2008a. You’ll have to search the forum (but I would advise you to do so with google, the search of the forum itself regularly shows no found posts, while google does for me)

Other than that it is hoping that NVIDIA will soon post an update of the matlab plugin compatible with 2008a