MATLAB: How to get data into the Powergui block in SimPowerSystems

powerpowerguiscopesimsimpowerSimscape Electricalsimulinkstructuresystemstimetowithworkspace

I am unable to find documentation that describes how to get data from my system into the Powergui block.

Best Answer

This bug has been fixed in Release 14 Service Pack 2 (R14SP2). For previous releases, read below for any possible workarounds:
Documentation on the Powergui block is missing from SimPowerSystems.
To work around this issue, follow the steps below.
You need to have a "Structure with time" created when the simulation completes. These structures are generated by the Scope or To Workspace blocks in your model. For an example, review the demo model power_transfosat. You can also review the documentation on the Scope or To Workspace blocks for directions on creating a structure with time data output.