How to add command line to nvcc

I write some program for MATLAB , atomicAdd( ) are used in the code, when I compile it, there is errors ,
error: identifier “atomicAdd” is undefined,

As I checked, it required gpu architecture sm_13, and I have to add a command line to NVCC , however I DON’T KNOW HOW … :wacko:
can anybody help me!! Thank you !!!