See the documentation. Either put it in the right relative directory to the mex file or set a CODA_DEFINITION environment variable that points to the location of the codadef file (this can be any location you choose yourself).
Please read the documentation more carefully. It says ../../../share/coda/definitions relative to you location of the mex file. This means C:\Program Files\CODA\share\coda\definitions.