Documentation

xPCSignals.GetSignalsValue

Vector of signal values from array

Syntax

public double[] GetSignalsValue(int[] arrayOfSigId)
public double[] GetSignalsValue(IList<xPCSignals> arrayOfSigObjs)

Description

Class: xPCSignals Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public double[] GetSignalsValue(int[] arrayOfSigId) returns a vector of signal values from an array containing its signal identifiers. arrayOfSigId is an array of 32-bit signal identifiers. This method returns the vector as a double.

public double[] GetSignalsValue(IList<xPCSignals> arrayOfSigObjs) returns a vector of signal values from an IList that contains xPCSignals objects. This method returns the vector as a double.

Exception

ExceptionCondition

xPCException

When problem occurs, query xPCException object Reason property.

Introduced in R2011b

Was this topic helpful?