The matlab script is based on the theory of Young's double slit experiment。 By running this software, students can see the stripes of light and dark and the corresponding light intensity curves in the software of the left, The value corresponding to each independent variable in the right also can be record。 Because there is no influence of outside light, light and dark stripes of the software produced more clearly than the actual experiment shade, what’s more, the most important feature of this software is light and dark stripes and light intensity curves correspond observed, which cannot be realized in the actual experiment。 As the software only shows the final gap between light and dark stripes and the corresponding value of the variable, and there is no light simulation, as well as the double-slit screen, which is a drawback of this software。