Skip to Main Content Skip to Search
Product Documentation

modifyInheritedParam - Class: rtw.codegenObjectives.Objective
Package: rtw.codegenObjectives

Modify inherited parameter values

Syntax

modifyInheritedParam(obj, paramName, value)

Description

modifyInheritedParam(obj, paramName, value) 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.

Input Arguments

objHandle to a code generation objective object previously created.
paramNameParameter that you modify in the objective.
valueValue of the parameter.

Examples

Change the value of Inlineparameters to off in the objective.

modifyInheritedParam(obj, 'InlineParams', 'off');

See Also

get_param

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS