22. File Types and Extensions#

This appendix lists the file extensions of the different file types that Reactis and the Reactis for C Plugin use and create.

22.1. File Types Used or Created by Reactis#

.mdl, .slx

Model files created in Simulink. Reactis reads model files but does not modify them.

.rsi

Reactis Info File. Stores information about models used in Reactis, for example:

  • Validator objectives added to a model.

  • .rsm files assigned to S-Functions within a model.

  • Parameters (set via the Edit menu in Reactis) which control model testing and execution.

Reactis automatically creates a .rsi file when a model is loaded the first time. The base name of the created .rsi file matches the model file name. The .rsi file is created in the same folder as the model file, unless specified otherwise in Global Settings > Files.

.rst

Reactis Test Suite. Contains test data created by Reactis Tester or Reactis Simulator. Can be loaded in Reactis Simulator to run the tests on a model.

.csv

Comma Separated Value files. Reactis Simulator can import data from .csv files into a .rst test suite or export data from a .rst test suite to a .csv file.

.m

MATLAB script. Reactis can export a test suite to .m script format in order to run the test suite on the model in Simulink (see the Executing Test Suites in Simulink section).

.mat

MATLAB binary data. Reactis can export a test suite to .m script format in order to run the test suite on the model in Simulink (see the Executing Test Suites in Simulink section).

.rsp

Reactis profile file. Stores temporary information about models such as:

  • Recent error messages about the model

  • History of parameters used for the model in Tester

  • Watched variables in Simulator

  • Currently opened scopes in Simulator

  • Currently enabled coverage highlighting settings in Simulator

Reactis automatically creates a .rsp file when a model is loaded the first time. The base name of the created .rsp file matches the model file name. The .rsp file is created in the same folder as the model file, unless specified otherwise in Global Settings > Files.

.rtp

Reactis Tester parameter file. If the corresponding option in Edit > General is enabled, Reactis generates a .rtp file every time a test suite is created via the Reactis GUI. The .rtp file contains all information necessary to re-create the same test suite, including a copy of all settings in the current .rsi file. Note that .rtp files can only be used to re-create test suites within the same major version of Reactis. When using a .rtp file with a different version of Reactis, the re-created test suite may differ from the original.

.mwi

Reactis model cache file. If the corresponding option in Edit > General is enabled, Reactis creates .mwi files for every model when either Simulator or Tester are starting up. The .mwi file contains an imported version of the model’s content, allowing Reactis to skip the Importing MDL file… phase of Tester or Simulator.

.mwib

Reactis model binary cache file. If the corresponding option in Edit > General is enabled, Reactis creates .mwib files for every model when either Simulator or Tester starts. The .mwib file contains an imported version of the model’s content, allowing Reactis to skip the Importing MDL file… phase of Tester or Simulator on subsequent runs. The .mwib file is a binary file that builds on the .mwi textual cache facility for even faster startup on cache hits.

22.2. File Types Used or Created by the Reactis for C Plugin#

.c, .h

C source and header files. Reactis reads these files but does not modify them.

.rsm

Reactis Makefile. Stores information about how to build an S-Function or static/dynamic library. To create a .rsm file, right-click on an S-Functions and selecting Assign RSM file, then either select an existing file or enter a new file name. See the S-Function C Code section for more information about creating .rsm files.

.rso

C object file. If Create and use cache files for C code is checked in Edit > C Code then Reactis will create a .rso file for each .c input file.

.rsld

Dynamic library cache file. If Create and use cache files for C code is checked in Edit > C Code then Reactis will create a .rsld file for each S-Function or dynamic library defined by a .rsm file.

.rsls

Static library cache file. If Create and use cache files for C code is checked in Edit > C Code then Reactis will create a .rsls file for each static library defined by a .rsm file.

.rsxm

Cache of initial Reactis for C Plugin machine state. If Create and use cache files for C code is checked in Edit > C Code then Reactis will create a .rsxm file for the model. This file contains the complete initial state of the Reactis for C Plugin and therefore speeds up Reactis Simulator and Tester startup time.