Set Host COM Port
Automatically detect, manually select, or manually specify COM port of host computer
Since R2025a
Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Host-board connection
Description
Automatically detect, manually select, or manually specify the COM port of your host computer to communicate with the Arduino® board.
Dependencies
This parameter is enabled in the Configuration Parameters dialog box when you set
Select upload method to USB.
Settings
Automatically (default) | Manually select | Manually specify
Automatically— Simulink® automatically detects the Arduino board connected to your host computer and establishes a serial communication using the available COM port.Note
You cannot detect the COM port automatically for Arduino Nano 3.0, ESP32–WROOM and ESP32–WROVER Arduino compatible boards.
Manually select— Select a COM port in the Host COM Port drop-down list that Simulink detects to establish a serial communication between the Arduino board and your host computer.Click Refresh to populate the available COM ports in the Host COM Port drop-down list.
Manually specify— Enter the COM port in the Host COM Port parameter to establish a serial communication between the Arduino board and your host computer.
Programmatic Use
| No programmatic use is available. |
Version History
Introduced in R2025a