Additional include directories - Include folders to add to include path for compiling generated code - MATLAB (original) (raw)

Main Content

Include folders to add to include path for compiling generated code

Description

Settings

String array

Folders to add to the include path.

Programmatic Use

**Property:**CustomInclude
Values: ' ' | string array cell array of character vectors character vector

Version History

Introduced in R2011a

expand all

Specifying multiple file names, paths, or reserved names in code configuration objects by using character vectors or string scalars that have delimiters produces an error. Use string arrays and a cell array of character vector instead. For example, cfg.CustomInclude = ["C:\Project","C:\Custom Files"]; orcfg.CustomInclude = {'C:\Project','C:\Custom Files'};.

Specifying multiple file names, paths, or reserved names in code configuration objects by using character vectors or string scalars that have delimiters produces a warning and will be removed in a future release. Use string arrays and a cell array of character vector instead. For example, cfg.CustomInclude = ["C:\Project","C:\Custom Files"]; or cfg.CustomInclude = {'C:\Project','C:\Custom Files'};.

In a future release, specifying multiple file names, paths, or reserved names in code configuration objects by using character vectors or string scalars that have delimiters will be removed. Use string arrays and a cell array of character vectors instead. For example, cfg.CustomInclude = ["C:\Project","C:\Custom Files"]; or cfg.CustomInclude = {'C:\Project','C:\Custom Files'};.