Though there are many methods for spatial data mining, it is also a desirable problem that how to carry out this operation fast. Matlab is called full-purpose calculation paper. And it has certain advantage in carrying out data mining because of its powerful matrix calculation function. According to the association rule method of data mining, spatial data of land use and slope was processed and extracted on Geographic Information System (GIS) at first, and data mining was performed by the program, which was wrote in M-language of Matlab. The study area was Ancheng township in Shandong province of China. The confidence and the support between different land use types and slope levels were mined, and the association rules were set up. Through the empirical study, it has been proved that this study method is feasible and the conclusion can provide instruction for local land use planning.