Help CenterHelp Center
Close open connections to Simulink interface dictionary
Since R2022b
close(dictObj)
close(dictObj, 'DiscardChanges', true)
close(dictObj) closes the open connections to the interface dictionary. If the dictionary has unsaved changes, an error is thrown.
dictObj
example
close(dictObj, 'DiscardChanges', true) closes the connections to the interface dictionary and discards any unsaved changes.
collapse all
To close the open connections to the interface dictionary, use the close function.
close
close(dictObj);
Simulink.interface.Dictionary
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.
Simulink.interface.dictionary.create
Simulink.interface.dictionary.open
Introduced in R2022b
Simulink.interface.Dictionary | isDirty | save | show | showChanges | Simulink.interface.dictionary.create | Simulink.interface.dictionary.open
isDirty
save
show
showChanges
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office