I have finished installing Visual C++ express edition so I tried testing CUDA with MATLAB by using this command…
nvmex -f nvmexopts.bat Szeta.cu -IC:\cuda\include -LC:\cuda\lib -lcufft -lcudart
but the following error occurred:
nvcc fatal : Unknown option ‘oC:\Users\user\AppData\Local\Temp\mex_5mp5KZ\Szeta.obj’ C:\PROGRA~1\MATLAB\R2008A\BIN\NVMEX.PL: Error: Compile of ‘Szeta.cu’ failed. ??? Error using ==> nvmex at 206 Unable to complete successfully.
How can we fix this error? Thanks.