Download Real-Time Workshop®
Transcript
17 Targeting Real-Time Systems Table 17-3: Template Makefile Tokens Expanded by make_rtw (Continued) Token Expansion |>TID01EQ<| True (1) if sampling rates of the continuous task and the first discrete task are equal, otherwise False (0). |>NCSTATES<| Number of continuous states. |>BUILDARGS<| Options passed to make_rtw. This token is provided so that the contents of your model.mk file will change when you change the build arguments, thus forcing an update of all modules when your build options change. |>EXT_MODE<| True (1) to enable generation of external mode support code, otherwise False (0). These tokens are expanded by substitution of parameter values known to the build process. For example, if the source model contains blocks with two different sample times, the template makefile statement NUMST = |>NUMST<| expands to the following in model.mk. NUMST = 2 In addition to the above, make_rtw expands tokens from other sources: • Target-specific tokens defined via the Target configuration section of the Real-Time Workshop page of the Simulation Parameters dialog box. • Structures in the RTW Options section of the system target file. Any structures in the rtwoptions structure array that contain the field makevariable are expanded. The following example is extracted from matlabroot/rtw/c/grt/grt.tlc. The section starting with BEGIN_RTW_OPTIONS contains M-file code that sets up rtwoptions. The directive 17-28
Related documents
Real-Time Workshop User's Guide
MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER User`s guide
Real-Time Workshop User`s Guide
MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER User`s guide
MATLAB DATABASE TOOLBOX RELEASE NOTES User`s guide
DSP Blockset User`s Guide
Motion Control of Industrial Printers
MATLAB SIGNAL PROCESSING BLOCKSET 7 User`s guide
Real-Time Workshop
Real-Time Workshop Release Notes