run
Run MATLAB script
Syntax
Description
run( runs
the MATLAB® script specified by scriptname)scriptname.
Examples
Input Arguments
Tips
To update the output when running live scripts, use the Run button in the Live Editor tab instead of the
runfunction. Therunfunction does not update live scripts with new output.runchanges to the folder that contains the script, executes it, and resets back to the original folder. If the script itself changes folders, thenrundoes not revert to the original folder, unlessscriptnamechanges to the folder in which this script resides.
Version History
Introduced before R2006a
