Simulink.data.connect
R2026bSyntax
Description
creates a data connection object for the base workspace, model workspace, MAT file, or
Design Data section of a data dictionary. The function returns a connectionObj = Simulink.data.connect(dataSource)Simulink.data.DataConnection object representing the connection to the data
source.
specifies options using one or more name-value arguments in addition to the input argument
in the previous syntax. For example, to create a data connection object for the
Configurations section of a data dictionary or model file, set connectionObj = Simulink.data.connect(dataSource,Name=Value)Section
to "Configurations".