Skip to Main Content Skip to Search
Product Documentation

getLinkFlags - Link options from model build information

Syntax

options=getLinkFlags(buildinfo, includeGroups, excludeGroups)

includeGroups and excludeGroups are optional.

Input 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.

Output Arguments

Linker options stored in the model build information.

Description

The getLinkFlags function returns linker options stored in the model 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

addLinkFlags | getCompileFlags | getDefines

How To

  


Related Products & Applications

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

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