getFullFileList
Get list of files from build information
Description
[
returns the fully qualified paths and names of files, or files of a selected type
(source, include, or nonbuild), from the build information.fPathNames
,names
] = getFullFileList(buildinfo
,fcase
)
The function requires the buildinfo
,
fPathNames
, and names
arguments. You can use the optional fcase
argument. This
optional argument lets you include or exclude file cases selectively from file list
returned by the function.
To ensure that header files are added to the file
list (for example, header files in the _sharedutils (Simulink Coder) folder), run before
getFullFileList
.
The packNGo
(Simulink Coder) function calls
getFullFileList
to return a list of files in the build
information before processing files for packaging.
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. The getFullFileList
function returns the
path for each file:
If a path was explicitly associated with the file when it was added.
If you called
updateFilePathsAndExtensions
(Simulink Coder) to resolve file paths and extensions before callinggetFullFileList
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2008a
See Also
Topics
- Customize Post-Code-Generation Build Processing (Simulink Coder)