Categories: Modeling, Tools & Languages
The MathWorks provides Simulink® blocks and MATLAB® classes for RTI Connext DDS, allowing applications to seamlessly share information and work together.
The Simulink blocks, when added to a Simulink model, let the model interact with other DDS participants during a simulation. Simulink Coder™ lets you generate C/C++ code from a Simulink model, and code generated from the DDS blocks will conform to the Connext DDS API. The generated code can then be compiled and executed on any platform supported by Connext DDS, including Connext DDS Micro.
Similarly, instances of MATLAB classes for Connext DDS can be created in MATLAB to interact with other DDS participants during a simulation.
The following video provides an introduction to these Simulink blocks, and also walks through a sample scenario where you can simulate a distributed system composed of both Connext and Simulink applications.