rxTrans function

Translate the model to C code if needed