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.

Note

Do not use this .NET API method. Support for this method relies on support for the .NET API, which will be removed in a future release.

Exception

ExceptionCondition

xPCException

When problem occurs, query xPCException object Reason property.

Introduced in R2016a