The fast optimization and comparation for the contact stress and the bending stress of gears in the KXJ-Ⅱ gear test rig are conducted with the help of I-DEAS and MATLAB. The approach of fast optimization and FEA for helical gears with multi-mesh tooth is discussed under I-DEAS and MATLAB environment.