Documentation

xPCFileSystem.SetCurrentDirectory

Current folder

Syntax

public void SetCurrentDirectory(string path)

Description

Class: xPCFileSystem Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public void SetCurrentDirectory(string path) sets the current folder to the specified path name on the target computer. path is a character string that specifies the full path name to the folder you want to make current.

Exception

ExceptionCondition

xPCException

When problem occurs, query xPCException object Reason property.

Introduced in R2011b

Was this topic helpful?