Automatic detection of new hardware (serial port)

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Android Devices 的更多信息

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by