reload
Reinitialize variables from the data source of a model workspace
Syntax
Description
reload( reinitializes the
variables in the model workspace represented by the
mdlWks)Simulink.ModelWorkspace object mdlWks. When
you set the DataSource property of the model workspace to
'MAT-File', 'MATLAB File', or
'MATLAB Code', reload overwrites
variables that exist in the model workspace by loading the associated MAT-file or by
running the associated MATLAB code.
Examples
Input Arguments
Version History
Introduced before R2006a