A porous polymeric matrix and a device for optically-controlled release of chemicals allow a controlled and localized administration of a chemical species, by exploiting the thermosensitivity of amphiphilic supramolecular structures used as reservoir without this requesting a direct heating, at the same time by guaranteeing a precise dosage and positioning of the release of the chemical species.