Simulink.data.connect
Syntax
Description
creates a data connection object for a data dictionary, model workspace, or base workspace.
The function returns a connectionObj
= Simulink.data.connect(dataSource
)Simulink.data.DataConnection
object representing the
connection to the data source.
specifies whether tab completion for the object provides methods, variables, or both methods
and variables. Once you create a connection to the data source, your tab completion
preference cannot be changed.connectionObj
= Simulink.data.connect(dataSource
,TabComplete=tcOption
)
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2024a