list = serialportlist () ¶list = serialportlist ("all") ¶list = serialportlist ("available") ¶Returns a list of all serial ports detected in the system.
’all’ - show all serial ports (same as providing no arguments) ’available’ - show only serial ports that are available for use
list is a string cell array of serial ports names detected in the system.
See also: instrhwinfo("serialport").
Package: instrument-control