Click RE_solar_elec_matlab.m link to view the file.