The STM-electroluminescence technique is shown to be a valuable tool for characterizing optoelectronic properties and understanding structure-function relationships in heterogeneous or disordered materials on nanometer length scales. The intensity of photon emission induced by tunneling electrons from rough Au films is found to depend on the surface feature size. This size-dependent photon emis...