Main Content
Simulink.data.dataSource.hasSource
Determine if specified external data source is associated with model
Since R2024b
Description
checks whether a specified external data source, such as a MAT file or a data dictionary, is
currently associated with the Simulink® model or Subsystem File specified by tf
= Simulink.data.dataSource.hasSource(modelName
,nameOfExternalSource
)modelName
.
Examples
Input Arguments
Output Arguments
Alternatives
Use Model Explorer to navigate to the External Data tab. Under Additional data sources, you can check for the data source.
Version History
Introduced in R2024b