Documentation

xPCFileSystem.CreateDirectory

Create folder

Syntax

public xPCDirectoryInfo CreateDirectory(string path)

Description

Class: xPCFileSystem Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public xPCDirectoryInfo CreateDirectory(string path) creates folder on the target computer file system. path is a character string that specifies the full path name for the new folder. This method returns an xPCDirectoryInfo object.

A fully qualified folder name can have a maximum of 248 characters, including the drive letter, colon, and backslash.

Exception

ExceptionCondition

xPCException

When problem occurs, query xPCException object Reason property.

Introduced in R2016a

Was this topic helpful?