Development Computer Software Installation

You install the Simulink® Real-Time™ software only on the development computer. The development computer downloads the kernel software and real-time application to the target computer at run time. The Simulink Real-Time software is distributed on a DVD or as a file that you download from the Internet.

Prerequisites:

  • You must have uninstalled prior installations of the Simulink Real-Time product.

  • You must have a valid license for the required products. See License Requirements.

  • You must have Microsoft® .NET Framework 4.5 or later installed on the development computer. If the framework is not installed, the installation software prints an error message. See Installing the .NET Framework (msdn.microsoft.com/en-us/library/5a4x27ek(v=vs.110).aspx).

  • You must have a Microsoft C compiler installed on the development computer.

    By default, the Microsoft Visual Studio® 2015 installer does not install the C++ compiler that Simulink Real-Time requires. To install the C++ compiler, perform a custom install and select the C++ compiler. If you have already installed Microsoft Visual Studio with the default configuration, rerun the installer and select the modify option.

    See Command-Line C Compiler Configuration.

For more information, see Location of Files on Development Computer.

License Requirements

Before you install the Simulink Real-Time product, you must have a valid File Installation Key and License file. The File Installation Key identifies the products that you purchased from MathWorks®. The License file activates the installation.

If you have not received either of these items, go to the License Center at the MathWorks website.

Simulink Real-Time includes standalone mode. With standalone mode, you can create standalone real-time applications that run separately from the development computer.

Location of Files on Development Computer

Select a working folder outside the MATLAB® root. The files that are located there include:

  • MATLAB working folder — Simulink models (model), Simulink Real-Time applications (model.mldatx)

  • Simulink Coder™ Build folder — The Simulink Coder C code files (model.c, model.h) are in a subfolder called modelname_slrt_rtw.

The Simulink Real-Time software uses files located under these folders:

  • matlabroot\toolbox\slrt\

    • blocks — Drivers and associated blocks

    • slrt — Development computer functions related to the Simulink Real-Time software, methods for target objects, and methods for scope objects

    • slrtexamples — Simulink models and MATLAB code examples

  • matlabroot\toolbox\rtw\targets\xpc\

    • target — Files and functions related to the Simulink Real-Time kernel and build process, including drivers to support I/O blocks

    • xpc — Development computer functions related to the Simulink Real-Time software, methods for target objects, and methods for scope objects

    • xpcdemos — Simulink models and MATLAB code examples

Related Topics