Real-Time Workshop Embedded Coder Release Notes | ![]() ![]() |
Upgrading from an Earlier Release
This section describes the upgrade issues involved in moving from the Real-Time Workshop Embedded Coder 2.0 to Version 3.0.
Changes to Main Program Module (ert_main.c)
In this release, the Real-Time Workshop Embedded Coder generates a model-specific example main program module by default. For backwards compatibility, we continue to provide a static (non-generated) version of ert_main.c
.
To use the static version of ert_main.c
, (or continue using a previously customized version), note that certain modifications to ert_main.c
may be required. See Modifying the Static Main Program Module for modification guidelines.
HTML Code Generation Report Changes
In prior releases, the Generate HTML report option was available only for the Real-Time Workshop Embedded Coder. In the current release, a limited report is available for all targets (except the S-Function target and the Rapid Simulation target), while the Real-Time Workshop Embedded Coder continues to generate a more extensive report.
The Generate HTML report option is now located in the General code generation options category of the Real-Time Workshop page of the Simulation Parameters dialog box. The option is on by default.
See Generating a Code Generation Report in the Real-Time Workshop Embedded Coder User's Guide for further information.
Replace Obsolete Header File #includes
Generated code is packaged into different files in this release (see Revised Packaging of Generated Code Files). If you have interfaced your hand-written code to code generated by previous releases of Real-Time Workshop Embedded Coder, you may need to remove dependencies on header files that are no longer generated. Use #include
model
.h
directives, and remove #include
directives referencing any of the following:
![]() | Real-Time Workshop Embedded Coder 3.0 Release Notes | Real-Time Workshop Embedded Coder 2.0 Release Notes | ![]() |