cgsl_0301: Prioritization of code generation objectives for code efficiency
|cgsl_0301: Prioritization of code generation objectives for code efficiency
|Prioritize code generation objectives for code efficiency by using the Code Generation Advisor.
|Assign priorities to code
efficiency) efficiency objectives.
|Select the relative order
Execution efficiency based on application
|Configure the Code Generation Advisor to run before
generating code by setting the Check model before generating
code configuration parameter to
On (proceed with
On (stop for
A model's configuration parameters provide control over many aspects of generated code. The prioritization of objectives specifies how configuration parameters are set when conflicts between objectives occur.
Prioritizing code efficiency objectives above safety objectives may remove initialization or run-time protection code (for example, saturation range checking for signals out of representable range). Review the resulting parameter configurations to verify that safety requirements are met.
|A, B, C
|When you use the Code Generation Advisor, configuration parameters conform to the objectives that you want and they are consistently enforced.