Main Content
addSourceFiles
Add source files to build information
Description
addSourceFiles(
specifies source files and paths to add to the build information.buildinfo
,filenames
,paths
,groups
)
The function requires the buildinfo
and
filenames
arguments. You can use an optional
groups
argument to group your options.
The code generator stores the source file and path options in a build information object. The function adds options to the object based on the order in which you specify them.
Examples
Input Arguments
Version History
Introduced in R2006a
See Also
addIncludeFiles
| addIncludePaths
| addSourcePaths
| getSourceFiles
| removeSourceFiles
| updateFilePathsAndExtensions
| updateFileSeparator
Topics
- Customize Post-Code-Generation Build Processing (Simulink Coder)