Matlab is good for power systems power electronic, and I heard that Homar is more related to environment, irradiation, policies so mechanical students us it
Many researchers suggested Homer. But, homer can be used to analyse the PV system by submitting the data. If you are looking for PV Module modeling and analysis you are in the right direction. MATLAB is the right choice.