Documentation

xPCTargetScopeCollection.Add

Create xPCTargetScope object

Syntax

public xPCTargetScope Add()
public xPCTargetScope Add(int ID)
public IList<xPCTargetScope> Add(int[] arrayOfIDs)

Description

Class: xPCTargetScopeCollection Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public xPCTargetScope Add() creates xPCTargetScope object with the next available scope ID as key. It then adds xPCTargetScope object to xPCTargetScopeCollection object. This method returns an xPCTargetScope object.

public xPCTargetScope Add(int ID) creates xPCTargetScope object with ID as key. ID is 32-bit integer that specifies an ID for the scope object. This method returns an xPCTargetScope object.

public IList<xPCTargetScope> Add(int[] arrayOfIDs) creates an ILIST of xPCTargetScope objects with an array of IDs as keys. arrayOfIDs is an array of 32-bit integers that specifies an array of IDs for scope objects. This method returns an IList of xPCTargetScope objects.

Introduced in R2011b

Was this topic helpful?