Reserved names - Names that code generator must not use for functions or variables - MATLAB (original) (raw)
Main Content
Names that code generator must not use for functions or variables
Description
Settings
string
List of names, specified as strings.
Programmatic Use
**Property:**ReservedNameArray |
---|
Values: string array | cell array of character vectors |
Version History
Introduced in R2011a
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.ReservedNameArray = ["reserve1","reserve2","reserve3"]
or cfg.ReservedNameArray = {'reserve1','reserve2','reserve3'}
.
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.ReservedNameArray = ["reserve1","reserve2","reserve3"]
or cfg.ReservedNameArray = {'reserve1','reserve2','reserve3'}
.
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.ReservedNameArray = ["reserve1","reserve2","reserve3"]
or cfg.ReservedNameArray = {'reserve1','reserve2','reserve3'}
.