Documentation

xPCParameter.SetParamAsync

Asynchronous request to change parameter value on target computer

Syntax

public void SetParamAsync(double[] values)
public void SetParamAsync(double[] values, Object taskId)

Description

Class: xPCParameter Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public void SetParamAsync(double[] values) begins an asynchronous request to set parameter values to values on the target computer. This method does not block the calling thread. values is a vector of double values to which to set the parameter values.

public void SetParamAsync(double[] values, Object taskId) receives a user-defined object when it completes its asynchronous request. values is a vector of double values to which to set the parameter values. taskId is a user-defined object that you can have passed to the SetParamAsync method upon completion.

Exception

ExceptionCondition

InvalidOperationException

When another thread uses this method

Introduced in R2011b

Was this topic helpful?