setDirective
Class: target.BuildTool
Namespace: target
Syntax
myBuildTool.setDirective(directiveName,directiveValue)
myBuildTool.setDirective(pairedDirectiveName,startValue,endValue)
Description
myBuildTool.setDirective(
sets the named directive to the specified value.directiveName,directiveValue)
myBuildTool.setDirective(
sets the start and end values of the named directive.pairedDirectiveName,startValue,endValue)
If the Directives property does not contain the directive, the method
appends a new object of the appropriate subclass of
target.BaseDirective.
If the directive name is not supported by the build tool type specified by the
target.BuildToolType object, the method produces an error.
Input Arguments
Examples
Version History
Introduced in R2023a