Class: rtw.codegenObjectives.Objective
Package: rtw.codegenObjectives
Modify inherited parameter values
modifyInheritedParam(
obj
, paramName
, value
)
modifyInheritedParam(
changes
the value of an inherited parameter that the Code Generation Advisor
verifies in Check model configuration settings against code
generation objectives. Use this method when you create
a new objective from an existing objective.obj
, paramName
, value
)
| Handle to a code generation objective object previously created. |
| Parameter that you modify in the objective. |
| Value of the parameter. |
Change the value of DefaultParameterBehavior
to Tunable
in
the objective.
modifyInheritedParam(obj, 'DefaultParameterBehavior', 'Tunable');