codebuild
Syntax
Description
loads data from the buildResults
= codebuild(buildFolder
)buildInfo.mat
file in
buildFolder
, generates a makefile in
buildFolder
, and uses the specified toolchain or template makefile to
compile source code that is registered in the RTW.BuildInfo
object. If
the object is at the top of a hierarchy, the function performs the process for each object
in the hierarchy.
The function saves compilation artifacts, including object code files, in
buildFolder
.
The function returns an object that contains the display output. To view the output, run
disp(
.buildResults
)
codebuild(
specifies additional options using one or more name-value pairs.buildFolder
, Name,Value
)
codebuild(
compiles the code specified in buildInfo
, Name,Value
)buildInfo
using one or more name-value
pairs.
Examples
Relocate and Compile Generated Code
For an example that shows how to relocate and compile generated code in another development environment, see Compile Code in Another Development Environment.
Input Arguments
Output Arguments
Version History
Introduced in R2020b