Precise manipulation of the electronic phases in strongly correlated oxides offers an avenue to control the macroscopic functionalities, thereby sparking enormous research interests in condensed matter physics. In the present paper, phase-separated La0.33Pr0.34Ca0.33MnO3 (LPCMO) thin films with a fraction of the ferromagnetic metallic phase close to the percolation threshold are successfully prepared, in which the nonvolatile and erasable switching between different electronic states is realized through cooperative effects of Au-nanodots capping and laser illumination. The deposition of Au nanodots on LPCMO thin films leads to the occurrence of a thermally inaccessible nonpercolating state at low temperatures, manifested as the absence of insulator-metal transition as temperature decreases. Such a nonpercolating state can be substantially tuned back to a percolating state by laser illumination in a nonvolatile and erasable way, accompanied by gigantic resistance drops in a wide temperature range. The formation of local oxygen vacancies near Au nanodots and thereby the modulation of mesoscopic electronic texture should be the key factor for the realization of flexible modulation of global transport properties in LPCMO thin films. Our findings pave a way toward the manipulation of physical properties of the electronically phase-separated systems and the design of optically controlled electronic devices.