A general matlab program for computing the 3 - d frictional elastic contact problem by boundary element method is compiled . the wire race - ball advancing contact problem is numerically calculated , the 3 - d distribution of contact stress and deformation is plotted and the evolvement of contact area is given 采用matlab语言编制了三维摩擦型弹性接触问题的通用边界元程序,对钢丝滚道?钢球扩展型接触问题进行了数值计算,得到了接触应力和接触变形的三维分布以及接触区域的大小。