Return default mapping categories for model functions
returns a cell array of names for categories of model functions that you can map to
property settings, including a function customization template and memory section.
The function customization template mapped to a category defines how the code
generator produces code for that category of functions. To set up function category,
property, and value combinations for a model, use the category names that the
function returns in calls to:categories
= coder.mapping.defaults.functionCategories()
coder.mapping.defaults.allowedProperties
coder.mapping.defaults.allowedValues
coder.mapping.defaults.set
Get a list of the available function categories by calling
coder.mapping.defaults.functionCategories
.
catFunc = coder.mapping.defaults.functionCategories(); catFunc catFunc = 1×3 cell array {'InitializeTerminate'} {'Execution'} {'SharedUtility'}
coder.mapping.defaults.allowedProperties
| coder.mapping.defaults.allowedValues
| coder.mapping.defaults.dataCategories
| coder.mapping.defaults.get
| coder.mapping.defaults.set