How to display all serial ports and available ports in compact format

 Accepted Answer

You can easily display ports list in compact format
pa=['all Serial Ports' serialportlist];
pav=['available Ports' serialportlist('available')];
[pa;pav]

1 Comment

Sufia Tanveer
Sufia Tanveer on 18 Apr 2021
Edited: Sufia Tanveer on 18 Apr 2021
I mean, your answer helped me more than what I wanted. It worked nicely. Thanks a lot.

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Tags

Community Treasure Hunt

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

Start Hunting!