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.

Status

Indicate if the serial port object is connected to the device

Description

Status can be open or closed. If Status is closed, the serial port object is not connected to the device. If Status is open, the serial port object is connected to the device.

Before you can write or read data, you must connect the serial port object to the device with the fopen function. Use the fclose function to disconnect a serial port object from the device.

Characteristics

Read only

Always

Data type

String

Values

{closed}

The serial port object is not connected to the device.

open

The serial port object is connected to the device.

See Also

Functions

fclose, fopen

Was this topic helpful?