excludeCheck

Class: rtw.codegenObjectives.Objective
Package: rtw.codegenObjectives

Exclude checks

Syntax

excludeCheck(obj, checkID)

Description

excludeCheck(obj, checkID) excludes a check from the Code Generation Advisor when a user specifies the objective. When a user selects multiple objectives, if the user specifies an additional objective that includes this check as a higher priority objective, the Code Generation Advisor displays this check.

Input Arguments

objHandle to a code generation objective object previously created.
checkIDUnique identifier of the check that you exclude from the new objective.

Examples

Exclude the Identify questionable code instrumentation (data I/O) check from the objective.

excludeCheck(obj, 'mathworks.codegen.CodeInstrumentation');