Automatic detection of new hardware (serial port)

2 ビュー (過去 30 日間)
Cristian Berceanu
Cristian Berceanu 2019 年 4 月 3 日
In my program I have a drop down box which I populate with the available COM ports. I currently have a button which I need to press each time I want to refresh this list (which I need to do when a new USB to serial converter is plugged in, for instance).
Is there a way to do this automatically? I mean to capture an event that occurs when new HW is plugged in which would trigger the execution of the refresh function, without having to press the function.
Best regards,
Cristian

回答 (0 件)

カテゴリ

Help Center および File ExchangeAndroid Devices についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by