MQTT Publish
Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.
Libraries:
NVIDIA Jetson and NVIDIA DRIVE /
Internet Of Things
Description
The MQTT Publish block publishes messages from your hardware (publisher) to the MQ Telemetry Transport (MQTT) broker on the specified topic.
The Message port accepts the message to be published to the broker. The Status port outputs the status of the publish request. The string topic/level on the block icon is specified by the Topic parameter.
For more information on MQTT, see Introduction to MQTT.
Note
The MQTT Publish block supports MQTT only over TCP/IP sockets.
Ports
Input
Output
Parameters
Version History
Introduced in R2023a