xPCFileInfo.Open

Open file

Syntax

public xPCFileStream Open(xPCFileMode fileMode)

Description

Class: xPCFileInfo Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public xPCFileStream Open(xPCFileMode fileMode) opens file with specified mode. This method returns the xPCFileStream object for the file. See xPCFileMode Enumerated Data Type for file mode options.

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 R2011b