Main Content

Include directories

Description

Specify directories containing header and source files.

Category:Simulation Target

Settings

Default:''

Enter a space-separated list of folder paths.

  • Specify absolute or relative paths to the directories.

  • Relative paths must be relative to the folder containing your model files, not relative to the build folder.

  • The order in which you specify the directories is the order in which they are searched for header, source, and library files.

Note

If you specify a Windows®path containing one or more spaces, you must enclose the character vector in double quotes. For example, the second and third paths in theInclude directoriesentry below must be double-quoted:

C:\Project "C:\Custom Files" "C:\Library Files"

If you set the equivalent command-line parameterSimUserIncludeDirs, each path containing spaces must be separately double-quoted within the single-quoted third argument, for example,

>> set_param('mymodel', 'SimUserIncludeDirs', ... 'C:\Project "C:\Custom Files" "C:\Library Files"')

Command-Line Information

Parameter:SimUserIncludeDirs
Type:特征向量
Value:any folder path
Default:''

Recommended Settings

Application Setting
Debugging No impact
Traceability No impact
Efficiency No impact
Safety precaution

No recommendation

Related Topics