Simulink® Desktop Real-Time™ is a self-targeting rapid prototyping system where the host and the target computer are the same computer.
The MATLAB® environment provides the design and data analysis tools that you use when creating and testing Simulink models. In particular, see:
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. You can use Simulink Desktop Real-Time software with most Simulink blocks, including discrete-time and continuous-time systems. 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.
Some of the functions on a board may not be supported by Simulink Desktop Real-Time software.
Check the MathWorks® web site for an updated list
of supported boards and functions at
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.
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.
In external mode, the Simulink Desktop Real-Time software does not support the following:
Simscape™ or Simscape Driveline™ blocks
Blocks that do not run in real time
To File blocks
Limitations with Simulink Coder code generation software:
In external mode, MATLAB S-functions are not supported.
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
In other words, you cannot perform parallel builds for Simulink Desktop Real-Time.