addAdditionalIncludePath(hEntry,path)adds
a specified additional include path to the array of additional include paths for a
code replacement table entry.
This function adds -I to the compile line in the generated
makefile.
Specify Path to Additional Header and Source Files
This example shows how to use the
addAdditionalIncludePath function with
addAdditionalHeaderFile,
addAdditionalSourceFile, and
addAdditionalSourcePath to specify the path to additional
header and source files fully for a code replacement table entry.
hEntry — Handle to a code replacement table entry handle
The hEntry is a handle to a code replacement
table entry previously returned by instantiating a code replacement table
entry class, such as hEntry =
RTW.TflCFunctionEntry or
hEntry =
RTW.TflCOperationEntry.
Example: op_entry
path — Path to an additional header file character vector | string scalar
The path is a character vector or string scalar
that specifies the full path to an additional header file. The character
vector or string scalar can include tokens (for example,
$myfolder$, where myfolder is a
variable defined as a character vector, cell array of character vectors, or
string array in the MATLAB® workspace).
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.