If you've already got the G-code, you don't need MasterCAM; just open it in the machine control program and run it. CAM programs like MasterCAM are for converting models or drawings into toolpaths which they then convert to G-code that runs on your machine.