run
Execute a script file by path.
Syntax
Section titled “Syntax”run(scriptfilename)Description
Section titled “Description”Runs the script at the given path, even when its containing directory isn’t on the search path. Equivalent to cd’ing to the script’s directory, executing the script, and returning.
Example
Section titled “Example”run('scripts/setup.m')