Simulink.interface.Dictionary
Manage interface dictionary
Description
The Simulink.interface.Dictionary
object provides methods that
help you manage the interface dictionary.
Creation
To create a Simulink Interface Dictionary and return an object
representing the dictionary, use the Simulink.interface.dictionary.create
function.
dictName = 'MyInterfaces.sldd';
dictAPI = Simulink.interface.dictionary.create(dictName);
Properties
Object Functions
addAliasType | Add a Simulink alias type to Simulink Interface Dictionary |
addDataInterface | Add a data interface to Simulink Interface Dictionary |
addEnumType | Add an enum type to Simulink Interface Dictionary |
addPlatformMapping | Add AUTOSARClassic mapping to Simulink interface
dictionary |
addStructType | Add a structure type represented by Simulink.Bus in the Simulink
interface dictionary |
addValueType | Add a value type to Simulink Interface Dictionary |
close | Close open connections to Simulink Interface Dictionary |
getDataType | Get data type in Simulink Interface Dictionary |
getDataTypeNames | Get names of data types in Simulink Interface Dictionary |
getInterface | Get interface object for an interface in a Simulink Interface Dictionary |
getInterfaceNames | Get cell array of interface names in Simulink Interface Dictionary |
getPlatformMapping | Get platform mapping object for platform in dictionary |
importFromBaseWorkspace | Import Simulink object definitions |
importFromFile | Import Simulink object definitions |
isDirty | Check whether there are unsaved changes in Simulink interface dictionary |
removeDataType | Remove a Simulink data type from Simulink Interface Dictionary |
removeInterface | Remove an interface from Simulink Interface Dictionary |
save | Save changes to Simulink Interface Dictionary |
show | View contents of Simulink Interface Dictionary in standalone viewer |
showChanges | View changes to contents of Simulink Interface Dictionary in comparison viewer |
Examples
Version History
Introduced in R2022b