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 thebuildinfo
,concatenatePaths
, andreplaceMatlabroot
arguments. You can use optionalincludeGroups
andexcludeGroups
arguments. These optional arguments let you include or exclude groups selectively from the non-build files returned by the function.
If you choose to specifyexcludeGroups
and omitincludeGroups
, specify a null character vector (''
)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 specifytrue
for theconcatenatePaths
argument, thegetNonBuildFiles
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
.