Main Content
run
Syntax
Description
run(
executes the specified MATLAB® script in the data source workspace represented by the dsWks
,mscript
)Simulink.data.DataSourceWorkspace
object dsWks
.
While executing a script on the data source workspace, MATLAB temporarily changes the current folder to the folder that contains the script.
Examples
Input Arguments
Version History
Introduced in R2022b