Documentation

xPCFileScopeCollection.Add

Create xPCFileScope object with next available scope ID as key

Syntax

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

Description

Class: xPCFileScopeCollection Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public xPCFileScope Add() creates xPCFileScope object with the next available scope ID as key. It then adds xPCFileScope object to xPCFileScopeCollection object.

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

public IList<xPCFileScope> Add(int[] arrayOfIDs) creates an IList of xPCFileScope 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.

Introduced in R2011b

Was this topic helpful?