Serial port in MATLAB preferences
R2026bCOM port number of the USB Serial Port showing in your host computer
Since R2022b
Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Connectivity
Description
COM port number of the USB Serial Port showing in your host computer. To find the CPM port, browse to Device Manager > Ports (COM & LPT).
Dependencies
To enable this parameter, set Connectivity interface parameter to
Serial (ASCLIN. The value of
x)x depends on the Device Series parameter value.
Settings
<empty> (default)After connecting the hardware board, click Refresh button to view the available COM port options for the PIL simulation.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | No impact |
Programmatic Use
| No programmatic use is available. |
Version History
Introduced in R2022b