Specify whether to generate model function calls compatible with the main program module of the GRT target in models created before R2012a.
Category: Code Generation > Interface
Default: off (except on for GRT models created before R2012a)
Generates model function calls that are compatible with the main
program module of the GRT system target file
(grt_main.c
or grt_main.cpp
)
in models created before R2012a.
This option provides a quick way to use code generated in the current
release with a GRT-based custom target that has a main program module
based on pre-R2012a grt_main.c
or
grt_main.cpp
.
Disables the classic call interface.
The following are unsupported:
Data type replacement
Code interface packaging set to Reusable
function
or C++ class
.
Nonvirtual subsystem option Function with separate data
Setting Code interface packaging to C++
class
disables this option.
Selecting this option disables the incompatible option Single output/update function. Clearing this option enables (but does not select) Single output/update function.
Parameter:
GRTInterface |
Type: character vector |
Value:
'on' | 'off' |
Default:
'off' (except 'on' for GRT models created
before R2012a) |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | Off |
Efficiency | Off (execution, ROM), No impact (RAM) |
Safety precaution | No recommendation |