Main Content


Remove data dictionary from Model Explorer



hide(dictionaryObj) removes the data dictionary dictionaryObj from the Model Hierarchy pane of Model Explorer. The target dictionary no longer appears as a node in the model hierarchy tree. Use this function when you are finished working with a data dictionary and want to reduce clutter in the Model Explorer.


collapse all

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

myDictionaryObj ='myDictionary_ex_API.sldd');

Open Model Explorer and display the new data dictionary as the selected tree node in the Model Hierarchy pane.


With Model Explorer open, at the MATLAB command prompt, call the hide function to observe the removal of myDictionary_ex_API.sldd from the model hierarchy tree.


Input Arguments

collapse all

Target data dictionary, specified as a object. Before you use this function, represent the target dictionary with a object by using, for example, the or function.


  • To add a data dictionary as a node in the model hierarchy tree in Model Explorer, use the show function or use the interface to open and view the dictionary in Model Explorer.

  • The hide function does not affect the content of the target dictionary.


You can remove a data dictionary from the Model Hierarchy pane of Model Explorer by right-clicking the dictionary tree node and selecting Close.

Version History

Introduced in R2015a