Check model before generating code
Description
Choose whether to run Code Generation Advisor checks before generating code.
Category:Code Generation
Settings
Default:Off
-
Off
-
Generates code without checking whether the model meets code generation objectives. The code generation report summary and file headers indicate the specified objectives and that the validation was not run.
-
On (proceed with warnings)
-
Checks whether the model meets code generation objectives using the Code Generation Objectives checks in the Code Generation Advisor. If the Code Generation Advisor reports a warning, the code generator continues producing code. The code generation report summary and file headers indicate the specified objectives and the validation result.
-
On (stop for warnings)
-
Checks whether the model meets code generation objectives using the Code Generation Objectives checks in the Code Generation Advisor. If the Code Generation Advisor reports a warning, the code generator does not continue producing code.
Command-Line Information
Parameter:CheckMdlBeforeBuild |
Type:特征向量 |
Value:'Off' |'Warning' |'Error' |
Default:'Off' |
Recommended Settings
Application | Setting |
---|---|
Debugging | On (proceed with warnings) orOn (stop for warnings) |
Traceability | On (proceed with warnings) orOn (stop for warnings) |
Efficiency | On (proceed with warnings) orOn (stop for warnings) |
Safety precaution | On (proceed with warnings) orOn (stop for warnings) |