Real-Time Workshop database
File type: Various data file
The rtw file extension identifies a Real-Time Workshop database generated for a Simulink model.
Real-Time Workshop is the former name of MathWorks Simulink Coder, which uses the file during code generation.
File type category:
Various data file
Date updated: October 9, 2026
An .rtw file contains a description of a Simulink model for use by Real-Time Workshop code-generation tools. Its contents include information about the individual blocks in the model and their configuration.
Simulink Coder generates the file as an intermediate database while processing a model. It is used as input for the code-generation process rather than as the model itself.
Real-Time Workshop is the former name of MathWorks Simulink Coder. The software linked with this record runs on Microsoft Windows.
Use Simulink Coder to open and use .rtw Real-Time Workshop databases when building code from the associated Simulink model on Microsoft Windows.
A plain-text editor can be used to inspect the file, but editing it is unlikely to produce a usable model or code-generation result.
An .rtw file is an intermediate code-generation database, so it does not have a useful standalone conversion format. To obtain another output, open the associated model in Simulink and use Simulink Coder to generate the required code again.
Software applications that can open rtw files:
Microsoft Windows
Software apps that create rtw files:
Microsoft Windows