Simulink® Coder™ provides advanced configuration parameters
that appear only on the All Parameters tab of
the Configuration Parameters dialog box. These advanced parameters
are in the Code Generation and Hardware Implementation categories.
To view these parameters, on the All Parameters tab,
search for Advanced Parameters
.
Configuration Parameters for Code Generation Advanced Parameters
Configuration Parameters for Hardware Implementation Advanced Parameters
Parameter | Description | |||
---|---|---|---|---|
Specify whether to generate model function calls compatible with the main program module of the GRT target in models created before R2012a. | ||||
Include hyperlinks in the code generation report that link code to the corresponding Simulink blocks, Stateflow® objects, and MATLAB® functions in the model diagram. | ||||
Specify whether to combine global block signals and global state data into one data structure in the generated code | ||||
Open the Model-to-code navigation dialog box for specifying a build folder containing previously-generated model code to highlight. | ||||
Specify LAPACK library callback class for LAPACK calls in code generated from MATLAB code. | ||||
Include summary of eliminated and virtual blocks in code generation report. | ||||
Produce the TLC stack trace. | ||||
Specify whether to generate a destructor for the C++ model class. | ||||
Specify whether to apply or ignore custom storage classes. | ||||
Specify allocation of memory buffers for test points. | ||||
Specify whether to generate access methods for internal data structures, such as Block I/O, DWork vectors, Run-time model, Zero-crossings, and continuous states, for the C++ model class. | ||||
Specify whether to generate internal data structures
such as Block I/O, DWork vectors, Run-time model, Zero-crossings,
and continuous states as | ||||
Specify MAT-file logging. | ||||
Select the text to add to MAT-file variable names. | ||||
Specify a maximum word length, in bits, for which the code generation process generates system-defined multiword type definitions. | ||||
Link Simulink blocks, Stateflow objects, and MATLAB functions in a model diagram to corresponding code segments in a generated HTML report so that the generated code for a block can be highlighted on request. | ||||
Specify whether to use system-defined or user-defined type definitions for multiword data types in generated code. | ||||
Profile the execution time of TLC files. | ||||
Specify | ||||
Specify whether to generate the | ||||
Specify the standard math library for your execution environment.
Verify that your compiler supports the library you want to use; otherwise
compile-time errors can occur.
| ||||
Generate the TLC execution report. | ||||
Specify use of the TLC debugger | ||||
Include code replacement report summarizing replacement functions used and their associated blocks in the code generation report. | ||||
Specify whether to generate code for non-inlined S-functions. | ||||
Specify whether to generate the | ||||
Include summary of MATLAB functions in code generation report. | ||||
Include summary of Simulink blocks in code generation report. | ||||
Include summary of Stateflow objects in code generation report. | ||||
Specify whether generated code uses the operator | ||||
Control how the generated code allocates memory for model data. | ||||
Enable Simulink Coder features for models deployed to Simulink Supported Hardware. | ||||
Display code generation progress. | ||||
Custom text to replace | ||||
Remove unreachable (dead-code) instances of the | ||||
Remove unreachable (dead-code) instances of the |
The following Code Generation > Advanced Parameters are infrequently used and have no other documentation.
Parameter | Description | |
---|---|---|
| Set in Default is | |
ConcurrentExecutionCompliant | Indicates whether the target supports concurrent execution. | |
GenerateFullHeader | Generate full header including time stamp. | |
GenerateSharedConstants | Control whether the code generator generates code with
shared constants and shared functions. Default is | |
IsERTTarget | Indicates whether or not the currently selected target is derived from the ERT target. | |
MultiwordLength | Maximum multiword length. | |
ModelReferenceCompliant character vector - off , on | Set in SelectCallback for a target to
indicate whether the target supports model reference. | |
ParMdlRefBuildCompliant | Indicates if the model is configured for parallel builds when building a model that includes referenced models. | |
PostCodeGenCommand - '' | Add the specified post code generation command to the model build process. | |
ProfileTLC character vector - off , on | Profile the execution time of each TLC file used to generate code for this model in HTML format. | |
RTWVerbose character vector - off , on | Display messages indicating code generation stages and compiler output. | |
RetainRTWFile character vector - off , on | Retain the model .rtw file
in the current build folder. | |
TargetLibSuffix - '' | Control the suffix used for naming a target's dependent libraries
(for example, _target.lib or _target.a ).
If specified, the character vector must include a period (.). (For
generated model reference libraries, the library suffix defaults to _rtwlib.lib on Windows® systems
and _rtwlib.a on UNIX® systems.).
| |
TargetPreCompLibLocation - '' | Control the location of precompiled libraries. If you do not
set this parameter, the code generator uses the location specified
in rtwmakecfg.m . | |
TLCAssert character vector - off , on | Produce a TLC stack trace when the argument to the assert directives
evaluates to false . | |
TLCCoverage character vector - off , on | Generate .log files containing the number
of times each line of TLC code is executed during code generation. | |
TLCDebug character vector - off , on | Start the TLC debugger during code generation at the beginning of the TLC program. TLC breakpoint statements automatically invoke the TLC debugger regardless of this setting. | |
TLCOptions - '' | Specify additional TLC command line options. |
The following model configuration parameters have no other documentation.
Parameter | Description |
---|---|
TargetPreprocMaxBitsSint int - 32 | Specify the maximum number of bits that the target C preprocessor can use for signed integer math. |
TargetPreprocMaxBitsUint int - 32 | Specify the maximum number of bits that the target C preprocessor can use for unsigned integer math. |
Enable Embedded Coder features for models deployed to Simulink Supported Hardware. |
Parameter | Description |
---|---|
Comment | For MathWorks use only. |
ERTCustomFileBanners | For MathWorks use only. |
ExtModeMexFile | For MathWorks use only. |
ExtModeTesting | For MathWorks use only. |
IncAutoGenComments | For MathWorks use only. |
PreserveName | For MathWorks use only. |
PreserveNameWithParent | For MathWorks use only. |
SignalNamingFcn | For MathWorks use only. |
TargetFcnLib | For MathWorks use only. |
TargetTypeEmulationWarnSuppressLevel int - 0 | For MathWorks use only. When greater than or equal to 2, suppress warning messages that the code generator displays when emulating integer sizes in rapid prototyping environments. |