ABSTRACT

The Real-Time Workshop (RTWS) is the basic module of MATLAB, which is used for generating real-time code from the model designed with the help of modules like the Simulink, Stateflow and xPC, for running either as a standalone application or within the MATLAB environment. It provides options for generating more efficient code with the help of the RTWS Embedded Coder (ERT) to produce more compact and faster code than RTWS. It also provides built-in support for software standards such as AUTOSAR (standard used in automotive software). For building an executable from a model a make file is required, which provides various configurations for controlling the compilation and target specification. A Target Language Compiler (TLC) is used for generating code for the target system.