Main Content

addLoggedData

Add logged data

Description

addLoggedData(PlantInfoObj,logsout) adds logged signal data to the autoblks.pwr.PlantInfo object specified by the Simulink.SimulationData.Dataset signal data object.

If the data logged for the system does not conserve energy, the method returns a warning.

If the Simulink.SimulationData.Dataset object does not include data for the Power Accounting Bus Creator blocks in the system, the method returns an error.

Input Arguments

collapse all

autoblks.pwr.PlantInfo object for the system that you want to analyze.

Simulink.SimulationData.Dataset object for signals that you want to log.

Version History

Introduced in R2019a