getIncludeFiles
Get include files from build information
Syntax
Description
returns the names of include files from the build information.files
= getIncludeFiles(buildinfo
,concatenatePaths
,replaceMatlabroot
,includeGroups
,excludeGroups
)
The function requires the buildinfo
,
concatenatePaths
, and
replaceMatlabroot
arguments. You can use optional
includeGroups
and
excludeGroups
arguments. These optional arguments let
you include or exclude groups selectively from the include files returned by the
function.
If you choose to specify excludeGroups
and omit
includeGroups
, specify a null character vector
(''
) for includeGroups
.
The makefile for the build resolves file locations based on source paths and
rules. The build process does not require you to resolve the path of every file in
the build information. If you specify true
for the
concatenatePaths
argument, the
getIncludeFiles
function returns the path for each
file:
If a path was explicitly associated with the file when it was added.
If you called
updateFilePathsAndExtensions
to resolve file paths and extensions before callinggetIncludeFiles
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2006a