模型配置参数:代码生成
TheCode Generation类别包括用于定义代码生成过程(包括目标选择)的参数。它还包括用于将注释和布拉格斯插入数据和功能的生成代码中的参数。这些参数需要一个万博1manbetx®Coder™执照。基于ERT的目标可用的其他参数需要嵌入式编码器®执照。
这些配置参数出现在Configuration Parameters>Code Generationgeneral category.
Parameter | Description |
---|---|
Specify which target file configuration will be used. |
|
浏览file configuration options. |
|
指定C或C ++代码生成。 |
|
A description of the target file. |
|
指定代码生成与可执行文件。 |
|
Specify whether to automatically package generated code and artifacts for relocation. |
|
指定名称 |
|
Control compiler optimizations for building generated code. |
|
指定自定义编译器优化标志。 |
|
指定在构建可执行文件或库时要使用的工具链。 |
|
Specify compiler optimization or debug settings for toolchain. |
|
显示或自定义构建配置设置。 |
|
Enable generation of a makefile based on a template makefile. |
|
指定一个命令和可选附加makefile options. |
|
Specify the template makefile from which to generate the makefile. |
|
Select code generation objectives to use with the Code Generation Advisor. |
|
Open Configuration Set Objectives dialog box. |
|
Select and prioritize code generation objectives. |
|
Choose whether to run Code Generation Advisor checks before generating code. |
|
检查模型是否符合代码生成目标。 |
These configuration parameters are under theAdvanced parameters.
Parameter | Description |
---|---|
在MATLAB中为FFT函数生成的代码中指定FFTW库的回调类®code. |
|
Specify LAPACK library callback class for LAPACK calls in code generated from MATLAB code. |
|
Display code generation progress. |
|
Specify |
|
Profile the execution time of TLC files. |
|
Produce the TLC stack trace. |
|
生成TLC执行报告。 |
|
Specify use of the TLC debugger |
|
Package(Embedded Coder) |
指定包含要应用于模型级功能和内部数据的内存部分的软件包。 |
Refresh package list(Embedded Coder) |
Add user-defined packages that are on the search path to list of packages. |
Initialize/Terminate(Embedded Coder) |
Specify whether to apply a memory section to Initialize/Start and Terminate functions. |
Execution(Embedded Coder) |
Specify whether to apply a memory section to execution functions. |
共享实用程序(Embedded Coder) |
Specify whether to apply memory sections to shared utility functions. |
Constants(Embedded Coder) |
Specify whether to apply a memory section to constants. |
Inputs/Outputs(Embedded Coder) |
指定是否将内存部分应用于根输入和输出。 |
Internal data(Embedded Coder) |
Specify whether to apply a memory section to internal data. |
Parameters(Embedded Coder) |
Specify whether to apply a memory section to parameters. |
Validation results(Embedded Coder) |
Display the results of memory section validation. |
The following parameters underAdvanced parameters很少使用,没有其他文档。
Parameter | Description |
---|---|
PostCodeGenCommand -'' |
Add the specified post code generation command to the model build process. |
TLCOptions -'' |
Specify additional TLC command-line options. |
The following parameters are for MathWorks use only.
Parameter | Description |
---|---|
评论 |
对于数学工作,仅使用。 |
PreserveName |
对于数学工作,仅使用。 |
PreserveNameWithParent |
对于数学工作,仅使用。 |
SignalNamingFcn |
对于数学工作,仅使用。 |
TargetTypeEmulationWarnSuppressLevel int- 0 |
对于数学工作,仅使用。 当大于或等于2时,抑制警告消息在快速原型制作环境中模拟整数时会显示的警告消息。 |
The Configuration Parameters dialog box also includes other code generation parameters: