Documentation

xPCSignals.GetSignals

List of xPCSignal objects specified by array of signal identifiers

Syntax

public IList<xPCSignal> GetSignals(string[] arrayofBlockPath)
public IList<xPCSignal> GetSignals(int[] arrayOfSigId)

Description

Class: xPCSignals Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public IList<xPCSignal> GetSignals(string[] arrayofBlockPath) returns list of xPCSignal objects specified by array of signal identifiers. This method creates an ILIST of xPCSignal objects with an array of blockpaths. arrayofBlockPath is an array of character strings that contains the full block path names to signals.

public IList<xPCSignal> GetSignals(int[] arrayOfSigId) returns the list of xPCSignal objects specified by an array of signal identifiers. This method creates an ILIST of xPCSignal objects with an array of signal identifiers. arrayOfSigId is an array of 32-bit integers that specifies an array of signal identifiers.

Exception

ExceptionCondition

xPCException

When problem occurs, query xPCException object Reason property.

Introduced in R2011b

Was this topic helpful?