Thank you for your answer but my problem is that when we connect low rating of PV pannel with grid in MATLAB then VI measurement block will shows the grid outputs then how we ensures that the grid has connected with solar pannel.
May be you should put 3 measurement block that measure grid output, pv output, and pv+grid output then analyze the results and may be you need to simulate it using electrical loading. Just my opinion.
synchronizing grid with PV panel implies parameters like voltage, frequency and phase sequence to be matched.rest the performance parameters of PV panel to be tested.