MATLAB: How add function to the designated location of c file

Embedded Coderrtw

I have added function to c file by TLC file,however,I don't know how add function to the designated location of c file,for example in the top of c file,in the bottom of c file.How to achieve it? thank you .