Class: rtw.codegenObjectives.Objective
Package: rtw.codegenObjectives
Create custom code generation objectives
obj
= rtw.codegenObjectives.Objective('objID
')
obj
= rtw.codegenObjectives.Objective('objID
',
'base_objID
')
creates
an objective object, obj
= rtw.codegenObjectives.Objective('objID
')
.obj
creates an object, obj
= rtw.codegenObjectives.Objective('objID
',
'base_objID
')
,
for a new objective that is identical to an existing objective. You
can then modify the new objective to meet your requirements.obj
|
A permanent, unique identifier for the objective.
|
|
The identifier of the objective that you want to base the new objective on. |
Create a new objective:
obj = rtw.codegenObjectives.Objective('ex_ram_1');
Create a new objective based on the existing Execution
efficiency
objective:
obj = rtw.codegenObjectives.Objective('ex_my_efficiency_1', 'Execution efficiency');