keys

Class: coder.make.BuildConfiguration
Package: coder.make

Get all option names

Syntax

Out = h.keys

Description

Out = h.keys returns a list of all option names or keys in the build configuration.

Input Arguments

expand all

BuildConfiguration handle, specified as a coder.make.BuildConfiguration object.

Example: h

Output Arguments

expand all

List of all option names or keys in build configuration, returned as a cell array of character vectors.

Examples

The intel_tc.m file from Adding a Custom Toolchain, uses the following lines to display keys from the BuildConfiguration property:

tc = intel_tc
cfg = tc.getBuildConfiguration('Faster Builds');
cfg.keys
ans = 

  Columns 1 through 5

    'Archiver'    'C Compiler'    'C++ Compiler'    'Download'    'Execute'

  Columns 6 through 10

    'Linker'    'MEX Compiler'    'MEX Linker'    'Make Tool'    [1x21 char]
Was this topic helpful?