cport
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 (2024). cport (https://www.mathworks.com/matlabcentral/fileexchange/161-cport), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
cport/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |