PARCS code multi-group neutron diffusion constants are generated by Monte Carlo method.
A new tool in MATLAB software is developed to compute MGDCs from the MCNPX 2.7 code.
PTRAC file and weight to flux ratio method are applied for MGDCs generation.
PMAXS files which contain the two-group constants are prepared using MCNPX results.
The method is verified for two-group constants generation of Tehran research reactor.