Open the model rtwdemo_roll
and represent the Embedded Coder
Dictionary by using a coder.Dictionary
object. Use this object to
access the Storage Classes section of the dictionary, which contains the storage class
definitions.
Create a coder.dictionary.Section
object that represents the
Storage Classes section of the Embedded Coder Dictionary.
storageClassesSect =
Section with properties:
Name: 'StorageClasses'
Get a list of the storage class definitions in the section. Use the find
method to get the
coder.dictionary.Entry
objects in the section. Then, use the get
method to list the
names of the definitions that the entries represent.
ans =
1×19 cell array
Columns 1 through 4
{'ExportedGlobal'} {'ImportedExtern'} {'ImportedExternP…'} {'BitField'}
Columns 5 through 9
{'Const'} {'Volatile'} {'ConstVolatile'} {'Define'} {'ImportedDefine'}
Columns 10 through 13
{'ExportToFile'} {'ImportFromFile'} {'FileScope'} {'Localizable'}
Columns 14 through 18
{'Struct'} {'GetSet'} {'CompilerFlag'} {'Reusable'} {'SignalStruct'}
Column 19
{'ParamStruct'}
Remove the example storage class ParamStruct
from the
dictionary.