3.3.7. Building the model

The process of building the model creates a number of files which can be downloaded or programmed into an OpenECU to run in real-time. The build process is started by selecting the model, and either pressing CTRL-B or selecting the menu option Tools -> Real-Time Workshop -> Build Model. This instructs RTW to generate C code from the model and to invoke OpenECU's template makefile to compile the C code.

The result of a successful build produces a number of files in the same directory as the step1 model:

If the build fails for any reason, go back through the stages of the example and identify any corrections, or look at the installed and completed step1 model to identify any differences.