image thumbnail

Scanports function scans for available serial ports

version 1.0.0.0 (1.39 KB) by Rob Slazas
portlist = scanports(portlimit); Returns cell array of available serial port identifiers.

779 Downloads

Updated 14 Oct 2011

View License

portlist = scanports(portlimit);

Returns a cell array of available serial port identifiers, such as 'COM1'. By default will scan serial ports from COM1 to COM15. If the (optional) portlimit argument is passed to scanports, then it will scan from COM1 to COM[portlimit]. Displays a progress bar while scanning.

Cite As

Rob Slazas (2021). Scanports function scans for available serial ports (https://www.mathworks.com/matlabcentral/fileexchange/33273-scanports-function-scans-for-available-serial-ports), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!