you can download a paper to find matlab model of a PV. it has not control circuit and inverter. it just simulates characteristics of PVs without considering DC-DC and DC-AC circuits.
No, I never used PSIM, Sir do you have any Simulation circuit for grid connected inverter in PSIM? I you please share and guide me , I will really be very thankful