Documentation

Software Components

Simulink® Desktop Real-Time™ is a self-targeting rapid prototyping system where the host and the target computer are the same computer.

MATLAB Environment

The MATLAB® environment provides the design and data analysis tools that you use when creating and testing Simulink models. In particular, see:

Simulink Software

Simulink software provides an environment where you model your physical system and controller as a block diagram. You create the block diagram by using a mouse to connect blocks and a keyboard to edit block parameters. C code S-functions are supported by Simulink Coder™ code generation software.

With Simulink Desktop Real-Time software, you can remove the physical system model and replace it with Simulink Desktop Real-Time I/O driver blocks connected to your sensors and actuators. The Simulink Desktop Real-Time I/O library supports more than 200 boards.

    Note:   Some of the functions on a board may not be supported by Simulink Desktop Real-Time software. Check the MathWorks® website for an updated list of supported boards and functions at Supported I/O Boards.

Known limitations include:

  • Unsupported Simulink products — The Simulink Desktop Real-Time software does not support the Simscape™ or SimDriveline™ products.

  • Unsupported Simulink blocks in external mode — You can use Simulink Desktop Real-Time software with most Simulink blocks, including discrete-time and continuous-time systems. In external mode, Simulink Desktop Real-Time software does not support blocks that do not run in real time, nor does it support To File blocks.

  • Limitations with Simulink Coder code generation software:

    • When you use a continuous-time system and generate code for external mode execution with Simulink Coder code generation software, you must use a fixed-step integration algorithm.

    • The Simulink Coder product provides an API for the MATLAB Distributed Computing Server™ or Parallel Computing Toolbox™ products to perform parallel builds that reduce build time for referenced models. However, this API does not support parallel builds for models whose system target file parameter is set to rtwin.tlc or rtwinert.tlc. In other words, you cannot perform parallel builds for Simulink Desktop Real-Time.

    • MATLAB S-functions are not supported in external mode.

Simulink Coder Software

Simulink Coder code generation software provides the utilities to convert your Simulink models into C code and then compile the code into a real-time executable.

    Note:  

    • Simulink Coder is required for External Mode.

    • Compiler support is included as part of the product installation. No additional or external compiler is required.

    • MATLAB Coder is required for Simulink Coder installation.

Simulink Desktop Real-Time software is designed for maximum flexibility during rapid prototyping. This flexibility allows parameter tuning and signal tracing during a real-time run, but increases the size of the generated code. However, Simulink Coder code generation software provides other code formats that generate more compact code for embedded applications.

Was this topic helpful?