Documentation

xPCStateLogger Class

Access to state log

Syntax

public class xPCStateLogger : xPCLog

Description

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public class xPCStateLogger : xPCLog initializes a new instance of the xPCStateLogger class.

Properties

The xPCStateLogger class inherits its other properties from xPCLog Class.

PropertyC# Declaration SyntaxDescription

DataLoggingObjects

public IList<xPCDataLoggingObject> DataLoggingObjects {get;}

Get collection of xPCDataLoggingObject items available for state logging.

IsEnabled

public override bool IsEnabled {get;}

Get whether to enable or disable logging.

Overrides xPCLog.IsEnabled.

Item

public xPCDataLoggingObject Item[int index] {get;}

Get reference to the xPCLoggingObject that corresponds to index (state index). index is a 32–bit integer.

NumStates

public int NumStates {get;}

Get the number of states.

Introduced in R2011b

Was this topic helpful?