Documentation

xPCFileStream.Write

Write block of bytes to file stream

Syntax

public void Write(byte[] buffer, int count)

Description

Class: xPCFileStream Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public void Write(byte[] buffer, int count) writes data from a block of bytes, buffer, to the current file stream. buffer contains the data to write to the stream. It is a byte structure. count is an integer. It specifies the number of bytes to write to the current file stream.

Exception

ExceptionCondition

xPCException

When problem occurs, query xPCException object Reason property.

Introduced in R2011b

Was this topic helpful?