Main Content

close

Class: Simulink.data.Dictionary
Package: Simulink.data

Close connection between data dictionary and Simulink.data.Dictionary object

Syntax

close(dictionaryObj)

Description

close(dictionaryObj) closes the connection between the Simulink.data.Dictionary object dictionaryObj and the data dictionary it represents. dictionaryObj remains as a Simulink.data.Dictionary object but no longer represents any data dictionary.

Input Arguments

expand all

Target Simulink.data.Dictionary object, specified as a handle to the object.

Tips

  • Use the close function in a custom MATLAB function to disassociate a Simulink.data.Dictionary object from a data dictionary. Custom MATLAB functions can create and store variables and objects in function workspaces but cannot delete those variables and objects.

  • The close function does not affect the content or the state of the represented data dictionary. The function does not discard unsaved changes to the represented dictionary or entries. You can save or discard them later.

Introduced in R2015a