cport

The CPORT minitoolbox supplies basic functions to open, configure, read from,etc to ports.

You are now following this Submission

The CPORT minitoolbox supplies basic functions to open, configure, read from and write to serial and parallel ports under microsoft Windows 95/98 and (maybe) NT. The toolbox is implemented using a series of MEX files and M files. Requires Windows95/98/NT and Matlab 5.x

Included functions:
-------------------
cportopen - opens a serial or parallel port for use.
cportconfig - returns/modifies the configuration of a port.
cportwrite - writes characters to a port.
cportgetchar - reads characters from a port.
cportgetline - reads an entire character line from a port.
cportreset - resets a port, retrieves error codes and strings
and flushes its buffers.
cportclose - closes an open port.


Tested on Windows 95 under MATLAB 5.2

Cite As

Eyal Doron (2026). cport (https://www.mathworks.com/matlabcentral/fileexchange/161-cport), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0