Main Content

close

Close open connections to Simulink interface dictionary

Since R2022b

In R2023b the Architectural Data section of data dictionaries was introduced. When managing interfaces, data types, constants, and software address methods consider using the Simulink.dictionary.ArchitecturalData programmatic interfaces instead. For more information, see Programmatically Manage AUTOSAR Architectural Data.

Description

close(dictObj) closes the open connections to the interface dictionary. If the dictionary has unsaved changes, an error is thrown.

close(dictObj, 'DiscardChanges', true) closes the connections to the interface dictionary and discards any unsaved changes.

example

Examples

collapse all

To close the open connections to the interface dictionary, use the close function.

close(dictObj);

Input Arguments

collapse all

Interface dictionary, specified as a Simulink.interface.Dictionary object. Before you use this function, create or open dictObj by using Simulink.interface.dictionary.create or Simulink.interface.dictionary.open.

Version History

Introduced in R2022b

collapse all