User`s guide

14 Real-Time Workshop Ada Coder
14-16
To change the storage class of a signal, select it in your Simulink model; then
select
Signal Properties under the Edit menu of your model. This opens the
Signal Properties dialog box.
The options relevant to the Real-Time Workshop Ada Coder are located in the
Signal monitoring and code generation options panel in the bottom half of the
dialog box. The supported features are as follows:
Displayable (Test Point) — clicking this check box directs the Real-Time
Workshop Ada Coder to place the signal in a unique global memory location
(
Block_IO structure). This is useful for testing purposes since it eliminates
the possibility of overwriting the signal data. Note that selecting this option
forces the
RTW storage class to be auto.
RTW storage class you can change the storage class of the selected signal.
The options in the pull-down menu are as follows:
- Auto — directs the Real-Time Workshop to store the signal in a persistent
data structure. Specifically, an element called
Signal_Name is declared in
the
External_Inputs structure defined in the Model_Types package
Refer to Using Simulink for
information about these
options.