getNonBuildFiles
Get nonbuild-related files from build information
Syntax
Description
returns the names of non-build files from the build information, such as DLL files
required for a final executable or a README file.files
= getNonBuildFiles(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 non-build 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
getNonBuildFiles
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 callinggetIncludeFiles
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2008a
See Also
Topics
- Customize Post-Code-Generation Build Processing (Simulink Coder)