Partial differential equations (PDEs) are widely used in mechanics, control processes, ecological and economic systems, chemical cycling systems, and epidemiology. Although there are some numerical methods for solving PDEs, simple and efficient methods have always been the direction that scholars strive to pursue. Based on this problem, we give the meshless barycentric interpolation collocation method (MBICM) for solving a class of PDEs. Four numerical experiments are carried out and compared with other methods; the accuracy of the numerical solution obtained by the present method is obviously improved.