主要内容

Port

TCP/IP port to use for MQTT connection

Since R2023b

Model Configuration Pane: Hardware Implementation

Description

Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.

The Port parameter specifies the port number to use for the MQTT TCP/IP communication.

Settings

1883 | 8883

Specify the port to use for MQTT communication. When the Encryption Type parameter is None, the port number defaults to 1883. When Encryption Type is SSL/TLS, the port number defaults to 8883, the standardized port number for secured MQTT communication.

Programmatic Use

You cannot set this parameter from the MATLAB® command line.

Version History

Introduced in R2023b