Hi Saurav,
You can use the exportfigure script command. You may specify the .png format as the full file name that you want it saved as. In the example link, .jpg is used but you can just replace that by .png. This can be done in a loop or the sweep utility depending upon how you are running these simulations. Please let me know if you have any further questions.
Regards,
Amrita