Simulink Real-Time Options Pane

ParameterDescription

Execution mode

Specify execution mode of downloaded code.

Real-time interrupt source

Select a real-time interrupt source from the I/O board.

I/O board generating the interrupt

Specify the board interrupt source.

PCI slot (-1: autosearch) or ISA base address

Enter the slot number or base address for the I/O board generating the interrupt.

Monitor Task Execution Time

Monitor task execution times and append the results to the target object property tg.TETlog.

Signal logging data buffer size in doubles

Enter the maximum number of sample points that the software stores before wrapping.

Double buffer parameter changes

Use a double buffer for parameter tuning. This setting enables parameter tuning so that the process of changing parameters in the real-time application uses a double buffer.

Load a parameter set from a file on the designated target file system

Automatically load a parameter set from a file on the designated target computer file system.

File name

Specify the target computer file name from which to load the parameter set.

Generate INCA/CANape extensions (disables the Simulation Data Inspector and Dashboard blocks)

Enable real-time applications to generate data, such as A2L data, for Vector CANape® and ETAS® Inca.

Enable Stateflow animation

Enables visualization of Stateflow® chart animation.

Control the code created by Simulink® Coder™ code generation software for a Simulink Real-Time™ application. Set up general information about building real-time applications, including target, execution, data logging, and other options.

Configuration

The Simulink Real-Time Options node in the Configuration Parameters dialog box allows you to specify how the software generates the real-time application. To reveal the Simulink Real-Time Options node, do the following:

  1. In the Code Generation pane, in the System target file list, select slrt.tlc. This setting generates system target code for Simulink Real-Time.

    Note

    If you open a model that was originally saved with System target file set to xpctarget.tlc, the software updates the setting to slrt.tlc. To retain the updated setting, save the updated model.

  2. Select C for the Language parameter on the code generation pane.

Tips

  • The default values work for the generation of most real-time applications. If you want to customize the build of your real-time application, set the option parameters to suit your specifications.

  • To access configuration parameters from the MATLAB® command line, use:

    • gcs — To access the current model.

    • set_param — To set the parameter value.

    • get_param — To get the current value of the parameter.

To get help on an option

  1. Right-click the option text label.

  2. From the context menu, select What's This.