The dynamical nucleus-nucleus potentials for some fusion reactions are investigated by using the improved quantum molecular-dynamics (ImQMD) model with different sets of parameters in which the corresponding incompressibility coefficient of nuclear matter is different. Two new sets of parameters SKP* and IQ3 for the ImQMD model are proposed with the incompressibility coefficient of 195 and 225 MeV, respectively. The measured fusion excitation function for 16O+208Pb and the charge distribution of fragments for Ca+Ca and Au+Au in multifragmentation process can be reasonably well reproduced. Simultaneously, the influence of the nuclear matter incompressibility and the range of nucleon-nucleon interaction on the nucleus-nucleus dynamic potential is investigated.