Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

OutputBufferSize

Size of the output buffer in bytes

Description

You configure OutputBufferSize as the total number of bytes that can be stored in the output buffer during a write operation.

An error occurs if the output buffer cannot hold all the data to be written. You write text data with the fprintf function. You write binary data with the fwrite function.

You can configure OutputBufferSize only when the serial port object is disconnected from the device. You disconnect an object with the fclose function. A disconnected object has a Status property value of closed.

Characteristics

Read only

While open

Data type

Double

Values

The default value is 512.

See Also

Functions

fprintf, fwrite

Properties

Status

Was this topic helpful?