EnumSerialComs

Uses Windows registry information to ID Serial COM devices

現在この提出コンテンツをフォロー中です。

This function scans the Windows registry in two places and associates active COM ports with their registered "Friendly Name" and "Service". The function returns an N x 2 cell array where N is the number of active COM ports. The first column contains the friendly names of the devices where they exist and the second contains their COM number. If no devices with friendly names are found, devices is empty.
:
This function is not necessarily optimized but it is my solution to identifying serial devices connected by virtual COM port in Windows without having to query every device. If multiple devices with the same friendly name are connected to the computer, the output will contain both devices with their COM ports but they will be otherwise indistinguishable by this function. Based on code of " Benjamin Avants".

引用

Lorgio Teodovich (2026). EnumSerialComs (https://jp.mathworks.com/matlabcentral/fileexchange/65501-enumserialcoms), MATLAB Central File Exchange. に取得済み.

カテゴリ

Help Center および MATLAB AnswersUse COM Objects in MATLAB についてさらに検索

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.3.0.0

simplifications

1.2.0.0

better error support

1.1.0.0

1.01 Better error support

1.0.0.0