Return value of property for model default mapping category
returns a cell array of values that are relevant to the specified combination of
values
= coder.mapping.defaults.allowedValues(model
,category
,property
)category
and property
for the
specified model. To set up category, property, and value combinations for a model,
use the value names that the function returns in calls to
coder.mapping.defaults.set
.
Get the list of values that you can specify for property
StorageClass
for model default data category
ModelParameters
by calling
coder.mapping.defaults.allowedValues
.
lclparam_scs = coder.mapping.defaults.allowedValues('rtwdemo_configdefaults', 'ModelParameters',... 'StorageClass') lclparam_scs lclparam_scs = 14×1 cell array {'Default' } {'ExportedGlobal' } {'ImportedExtern' } {'ImportedExternPointer'} {'Const' } {'Volatile' } {'ConstVolatile' } {'Define' } {'ImportedDefine' } {'ExportToFile' } {'ImportFromFile' } {'FileScope' } {'GetSet' } {'CompilerFlag' }
coder.mapping.defaults.allowedProperties
| coder.mapping.defaults.dataCategories
| coder.mapping.defaults.functionCategories
| coder.mapping.defaults.get
| coder.mapping.defaults.set