Products & Services Solutions Academia Support User Community Company

Learn more about Real-Time Workshop   

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

  


Related Products & Applications

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

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