getCompileFlags

Compiler options from model's build information

Syntax

options=getCompileFlags(buildinfo, includeGroups, excludeGroups)

includeGroups and excludeGroups are optional.

Arguments

buildinfo

Build information returned by RTW.BuildInfo.

includeGroups (optional)

A character array or cell array of character arrays that specifies groups of compiler flags you want the function to return.

excludeGroups (optional)

A character array or cell array of character arrays that specifies groups of compiler flags you do not want the function to return.

Returns

Compiler options stored in the model's build information.

Description

The getCompileFlags function returns compiler options stored in the model's build information. Using optional includeGroups and excludeGroups arguments, you can selectively include or exclude groups of options the function returns.

If you choose to specify excludeGroups and omit includeGroups, specify a null string ('') for includeGroups.

Examples

See Also

getDefines, getLinkFlags
Programming a Post Code Generation Command

  


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