Skip to Main Content Skip to Search
Product Documentation

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

Remove inherited parameters

Syntax

removeInheritedParam(obj, paramName)

Description

removeInheritedParam(obj, paramName) removes an inherited parameter from this objective. Use this method when you create a new objective from an existing objective.

When the user selects multiple objectives, if another objective includes the parameter, the Code Generation Advisor reviews the parameter value using Check model configuration settings against code generation objectives.

Input Arguments

objHandle to a code generation objective object previously created.
paramNameParameter that you want to remove from the objective.

Examples

Remove Inlineparameters from the objective.

removeInheritedParam(obj, 'InlineParams');

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