findIncludeFiles
Find and add include (header) files to build information
Description
findIncludeFiles(
searches for and adds include files to the build information.buildInfo
,extensions
,Name,Value
)
Use the findIncludeFiles
function to:
Search for include files in source and include paths from the build information.
Apply the optional
extensions
argument to specify file name extension patterns for search.Add the found files with their full paths to the build information.
Delete duplicate include file entries from the build information.
To ensure that
findIncludeFiles
finds header files, add their paths
to buildInfo
by using the
addIncludePaths
function.
Note
findIncludeFiles
can modify the
buildInfo
argument. These modifications are
reflected in further use of buildInfo
, including
in subsequent calls to findIncludeFiles
.
Examples
Input Arguments
Name-Value Arguments
Version History
Introduced in R2006b