Skip to main content
MQTT search search close

MQTT Protocol for Simulink

MQTT protocol support allows you to exchange data with your MQTT-enabled devices and systems. Speedgoat provides Simulink® blocks for MQTT client operation on the system's Ethernet interfaces without requiring further I/O modules .

You can simulate large sensor networks and publish sensor data via MQTT. This allows you to test your control and monitoring systems on factory or enterprise level. For example, MQTT-equipped Speedgoat real-time test systems enable you to simulate and test vehicle battery charging systems. Other typical applications are transmitting temperature data to home automation systems and cloud-based tracking of mobile devices.

Contact us to discuss a solution built to your needs

 MQTT Protocol for Simulink

About MQTT

MQTT (Message Queuing Telemetry Transport) is a cross-industry IoT communication protocol standard used for machine-to-machine (M2M) communication and interoperability between IT systems and sensors.

The protocol is based on TCP/IP and follows a publish-subscribe architecture. A client (publisher) sends data for a specific topic to the broker, which then passes the data on to the other clients (subscribers) that subscribe to that topic. MQTT allows fast and efficient data transfer, made possible by the small protocol header and transmission not requiring periodic requests.  

Selection Guide

All the Ethernet ports support MQTT. One port can handle the data transmission of multiple MQTT clients configured in the real-time application. Each MQTT client requires a runtime license. MQTT support is available with MATLAB® R2020b and later.  

The following native implementations are available:

Product Supported machines  
MQTT Client Interface All  

Speedgoat real-time target machines are equipped with onboard Ethernet controllers that support MQTT. In addition, MQTT is compatible with the following Ethernet I/O modules:

Product Number of ports Supported machines     
IO710 1 port Performance  
IO715 4 ports Performance, Mobile, and Baseline  
IO791 2 ports Baseline and Unit  

Most of the Ethernet interfaces (both onboard and on I/O modules) also support various protocols, such as Modbus TCP, DNP3, OPC UA, EtherCAT Master, TCP/IP, Real-time UDP, PTP, and XCP over Ethernet.

Follow Speedgoat LinkedIn