getLinkFlags - Link options from model's build information

Syntax

options=getLinkFlags(buildinfo, includeGroups, excludeGroups)

includeGroups and excludeGroups are optional.

Arguments

buildinfo

Build information returned by RTW.BuildInfo.

includeGroups (optional)

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

excludeGroups (optional)

A character array or cell array that specifies groups of linker flags you do not want the function to return. To exclude groups and not include specific groups, specify an empty cell array ('') for includeGroups.

Returns

Linker options stored in the model's build information.

Description

The getLinkFlags function returns linker 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

getCompileFlags, getDefines
Programming a Post Code Generation Command

  


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