You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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 .
Categories
Find more on Instrument Control Toolbox Supported Hardware in Help Center and MATLAB Answers
General Information
- Version 1.0.0.0 (175 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
