Refer to the following excerpt from the PLECS Documentation + Simulation Scripts + Command Line Interface in PLECS Blockset.

You would then place the above 'ExportBitmap' command in your m-File to execute when you would like to capture the graphic (i.e. after each simulation run).