Main Content
addSourcePaths
Add source paths to build information
Description
addSourcePaths(
specifies source file paths to add to the build information.buildinfo
,paths
,groups
)
The function requires the buildinfo
and
paths
arguments. You can use an optional
groups
argument to group your options.
The code generator stores the source file path options in a build information object. The function adds options to the object based on the order in which you specify them.
The code generator does not check whether a specified path is valid.
Note
If you want to add source files and the corresponding file paths to build information,
use the addSourceFiles
(Simulink Coder) function. Do not use
addSourcePaths
.
Examples
Input Arguments
Version History
Introduced in R2006a
See Also
Topics
- Customize Post-Code-Generation Build Processing (Simulink Coder)