Navigation

  • index
  • next |
  • OpenSplice Simulink Guide »
  • DDS Simulink Guide

DDS Simulink Guide¶

  • 1. Introduction
    • 1.1. DDS
    • 1.2. Simulink
  • 2. Installation
    • 2.1. System Requirements
    • 2.2. OpenSplice (OSPL) and DDS Simulink Installation
    • 2.3. OpenSplice (OSPL) Configuration
      • 2.3.1. Linux
      • 2.3.2. Windows
    • 2.4. Simulink Setup
    • 2.5. Examples
  • 3. Vortex DDS Blocks
    • 3.1. Optional DDS Blocks and Ports
    • 3.2. QoS Profiles
    • 3.3. Simulink Block Sample Time
  • 4. Simulink Bus to DDS Topic Mapping
    • 4.1. Generate Simulink bus definitions from an IDL file
    • 4.2. Overriding default values for IDL import functions
      • 4.2.1. Overriding struct and enum names
      • 4.2.2. Changing unbound string maximum sizes
      • 4.2.3. Changing sequence attributes
    • 4.3. Add Simulink bus definitions using bus editor
    • 4.4. Bus definition limitations
  • 5. QoS Provider
    • 5.1. QoS Provider File
    • 5.2. QoS Profile
    • 5.3. Setting QoS Profile in Simulink
    • 5.4. Known Limitations
  • 6. Topic Block
    • 6.1. Topic Block Parameters
      • 6.1.1. Topic Tab
      • 6.1.2. Ports Tab
      • 6.1.3. QoS Tab
  • 7. Domain Block
    • 7.1. Domain Block Parameters
      • 7.1.1. Domain Tab
      • 7.1.2. QoS Tab
  • 8. Publisher Block
    • 8.1. Publisher Block Parameters
      • 8.1.1. Ports Tab
      • 8.1.2. QoS Tab
  • 9. Subscriber Block
    • 9.1. Subscriber Block Parameters
      • 9.1.1. Ports Tab
      • 9.1.2. QoS Tab
  • 10. Writer Block
    • 10.1. Writer Block Parameters
      • 10.1.1. Data Tab
      • 10.1.2. Ports Tab
      • 10.1.3. QoS Tab
  • 11. Reader Block
    • 11.1. Reader Block Parameters
      • 11.1.1. Data Tab
      • 11.1.2. Ports Tab
      • 11.1.3. QoS Tab
      • 11.1.4. Filters Tab
  • 12. Tutorial
    • 12.1. Create ShapeType Bus Using Simulink Bus Editor
      • 12.1.1. Open the bus editor from the MATLAB command window
      • 12.1.2. Add a new BUS named ShapeType
        • 12.1.2.1. Select Add Bus button
        • 12.1.2.2. Set Bus name and Key
      • 12.1.3. Add BusElements
        • 12.1.3.1. Add color
        • 12.1.3.2. Add x
        • 12.1.3.3. Add y
        • 12.1.3.4. Add shapesize
      • 12.1.4. Export BUS objects
    • 12.2. Create ShapeType Using IDL
      • 12.2.1. Create IDL File
      • 12.2.2. Generate Simulink bus definitions from an IDL file
      • 12.2.3. Model Explorer
    • 12.3. Shapes Write Model
      • 12.3.1. Create a new Simulink model
        • 12.3.1.1. Start Simulink
        • 12.3.1.2. Add a new blank model
        • 12.3.1.3. Save As…
        • 12.3.1.4. Model Settings
      • 12.3.2. Add Simulink DDS Blocks
        • 12.3.2.1. Open the Simulink Library Browser
        • 12.3.2.2. Add a Domain block
        • 12.3.2.3. Set domain block properties
        • 12.3.2.4. Add blocks (Topic, Publisher, and Writer)
        • 12.3.2.5. Connect Domain to Topic and Publisher
        • 12.3.2.6. Set Topic Block Parameters
        • 12.3.2.7. Connect Topic, Publisher and Writer Blocks & Set Writer Block Parameters
        • 12.3.2.8. Add a Bus Creator to Set Sample Data
        • 12.3.2.9. Add Bus Creator Inputs
    • 12.4. Shapes Read Model
      • 12.4.1. Create a new Simulink model
        • 12.4.1.1. Start Simulink
        • 12.4.1.2. Add a new blank model
        • 12.4.1.3. Save As…
        • 12.4.1.4. Model Settings
      • 12.4.2. Add Simulink DDS Blocks
        • 12.4.2.1. Open the Simulink Library Browser
        • 12.4.2.2. Add all required blocks (Topic and Reader)
        • 12.4.2.3. Toggle off optional ports
        • 12.4.2.4. Set Topic Block Parameters
        • 12.4.2.5. Set Reader Block Parameters
        • 12.4.2.6. Connect Topic and Reader
        • 12.4.2.7. Add a Bus Selector to read and display sample data
        • 12.4.2.8. Set Bus Selector Block Parameters
        • 12.4.2.9. Add Bus Selector outputs
    • 12.5. Running Simulations
      • 12.5.1. Setup Write Model
      • 12.5.2. Setup Read Model
      • 12.5.3. Run Simulations
  • 13. Generating C code with Simulink Coder
    • 13.1. Prerequisites for C generation
    • 13.2. Preparing for C generation
    • 13.3. Generating code
    • 13.4. Cross-compilation of models
    • 13.5. Running built models
  • 14. Troubleshooting
  • 15. Appendix A
    • 15.1. Simulink Bus to DDS Mapping
      • 15.1.1. Workflow 1: Using idlpp to Generate Simulink Bus and Type Descriptor
      • 15.1.2. Workflow 2: Manually Modeling DDS data in the Simulink Bus Editor
  • 16. Contacts & Notices
    • 16.1. Contacts
    • 16.2. Notices

Indices and tables¶

  • Search Page

Logo

Table of Contents

  • DDS Simulink Guide
    • Indices and tables

Next topic

1. Introduction

This Page

  • Show Source

Quick search

Navigation

  • index
  • next |
  • OpenSplice Simulink Guide »
  • DDS Simulink Guide
© Copyright 2022, ADLINK Technology Limited.