Main Content

show

Show data interface in the Interface Editor

Since R2022b

In R2023b the Architectural Data section of data dictionaries was introduced. When managing interfaces, data types, constants, and software address methods consider using the Simulink.dictionary.ArchitecturalData programmatic interfaces instead. For more information, see Programmatically Manage AUTOSAR Architectural Data.

Description

show(dataInterfaceObj) displays the data interface in the Architectural Data Editor.

example

Examples

collapse all

This example shows how to view a data interface in the Interface Editor.

Create a Simulink.interface.Dictionary object by opening an existing interface dictionary.

interfaceDictObj = Simulink.interface.dictionary.open('myInterfaceDict.sldd')
interfaceDictObj = 
  Dictionary with properties:

    DictionaryFileName: 'myInterfaceDict.sldd'
            Interfaces: [1×1 Simulink.interface.dictionary.DataInterface]
             DataTypes: [0×0 Simulink.interface.dictionary.DataType]

Use the show function to display the data interface in the Interface Editor.

show(interfaceObj)

Interface Editor window displaying data interface object interfaceObj

Input Arguments

collapse all

Data interface to display in the Interface Editor, specified as a Simulink.interface.dictionary.DataInterface object.

Version History

Introduced in R2022b

collapse all

R2023b: Simulink.interface.Dictionary object replaced by Simulink.dictionary.ArchitecturalData object

Starting in R2023b, use the Simulink.dictionary.ArchitecturalData object to programmatically manage architectural data instead of the Simulink.interface.Dictionary object.