Main Content

deleteEntry

Class: coder.dictionary.Entry
Namespace: coder.dictionary

Delete Embedded Coder Dictionary entry

Syntax

deleteEntry(entryObj)

Description

deleteEntry(entryObj) deletes an Embedded Coder Dictionary definition that the entry entryObj represents.

Input Arguments

expand all

Embedded Coder Dictionary entry, specified as a coder.dictionary.Entry object.

Examples

expand all

Open the model RollAxisAutopilot and represent the Embedded Coder Dictionary by using a coder.Dictionary object. Use this object to access the Storage Classes section of the dictionary and represent the section by using a coder.dictionary.Section object.

openExample('RollAxisAutopilot')
coderDictionary = coder.dictionary.open('RollAxisAutopilot');
storageClassesSect = getSection(coderDictionary, 'StorageClasses');

Represent the example storage class ParamStruct by using a coder.dictionary.Entry object.

entryObj = getEntry(storageClassesSect,'ParamStruct');

Delete the ParamStruct storage class.

deleteEntry(entryObj)

Version History

Introduced in R2019b