Documentation

xPCFileMode Enumerated Data Type

Open file with permissions

Syntax

public enum xPCFileMode

Description

Enumerated Data Type

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public enum xPCFileMode specifies how the target computer is to open a file with permissions.

Members

MemberDescription

CreateWrite

Open file for writing and discard existing contents.

CreateReadWrite

Open or create file for reading and writing and discard existing contents

OpenRead

Open file for reading

OpenReadWrite

Open (but do not create) file for reading and writing

AppendWrite

Open or create file for writing and append data to end of file

AppendReadWrite

Open or create file for reading and writing and append data to end of file

Introduced in R2009b

Was this topic helpful?