Main Content
Simulink.data.dataSource.removeSource
Description
Simulink.data.dataSource.removeSource(
removes an external data source, such as a MAT file or a data dictionary, that is associated
with the Simulink® model or Subsystem File specified by modelName
,nameOfExternalSource
)modelName
. When you
remove an external data source, the model no longer has access to the variables and data
contained within the specified external file. The function does not delete the file.
Examples
Input Arguments
Alternatives
Use Model Explorer to navigate to the External Data tab. Under Additional data sources, remove the data source from the model.
Version History
Introduced in R2024b