Using the combination of a reflective blazed grating and a reflective phase-only diffractive spatial light modulator (SLM), scanless multitarget-matching multiphoton excitation fluorescence microscopy (SMTM-MPM) was achieved. The SLM shaped an incoming mo