coder.mapping.defaults.allowedValues
Return value of property for model default mapping category
Description
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
.
Examples
Get Storage Class Values for Default Data Category Model Parameters
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('ConfigurationInterface', 'ModelParameters',... 'StorageClass') lclparam_scs lclparam_scs = 14×1 cell array {'Default' } {'ExportedGlobal' } {'ImportedExtern' } {'ImportedExternPointer'} {'Const' } {'Volatile' } {'ConstVolatile' } {'Define' } {'ImportedDefine' } {'ExportToFile' } {'ImportFromFile' } {'FileScope' } {'GetSet' } {'CompilerFlag' }
Input Arguments
Output Argument
Version History
Introduced in R2018a