Documentation

xPCFileSystem.GetCurrentDirectory

Current working folder for real-time application

Syntax

public string GetCurrentDirectory()

Description

Class: xPCFileSystem Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public string GetCurrentDirectory() gets the current working folder of the real-time application. This method returns the current working folder name as a character string.

Exception

ExceptionCondition

xPCException

When problem occurs, query xPCException object Reason property.

Introduced in R2011b

Was this topic helpful?