User`s guide
5 Real-Time Workshop 4.1 Release Notes
5-14
Removed Unnecessary Warnings and Declarations
from Generated Code
Several unnecessary warnings and declarations in the generated code have
been removed. These include:
•In functions where the
tid argument is not referenced, the declaration
(void)tid
is no longer generated. (The tid argument is required because the function
API is predefined.)
•Warnings involving
const casts were suppressed in some of the
rtw/c/libsrc modules.
Retain .rtw File Option Now Works in Accelerator
Mode
In previous releases, the Retain .rtw file option (on the TLC Debugging
Options page of the
Simulation Parameters dialog box) was ignored if
Simulink was in Accelerator mode. Now, you can retain the
model.rtw file
during a build, regardless of the simulation mode.
S-Function Target Memory Allocation Bug Fix
A segmentation fault during generation of S-functions was removed by fixing
the memory management of the port data structure.