Main Content


Close connection between data dictionary and object



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


collapse all

Open the data dictionary myDictionary_ex_API.sldd and represent it with a object named myDictionaryObj.

myDictionaryObj ='myDictionary_ex_API.sldd');

Remove connection between myDictionaryObj and myDictionary_ex_API.sldd.


Input Arguments

collapse all

Target object, specified as a handle to the object.


  • Use the close function in a custom MATLAB function to disassociate a 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.

Version History

Introduced in R2015a