One of the main and modem visualization method in neuroscience is two-photonmicroscopy. However, scientists need to upgrade their microscopy system so regular because they are interested to get more specific data. Self-developed microscopy system allows to modify the construction of microscope in not-complicated manner depending on specialized experimental models and scientific tasks. Earlier we reported about building of self-made laser scanning microscope (LSM) using in neuroscience both for in vivo and in vitro experiments. Here we will report how to create software AMAScan for LSM controlling in MATLAB. The work was performed with financial support of the government represented by the Ministry of Education and Science of the Russian Federation, the unique identifier of the project is RFMEFI58115X0016, the agreement on granting a subsidy No14.581.21.0016 dated 14.10.2015.