run
Executes a script file (.m).
Syntax
run(script_file)
run(script_file, 'nocatch')
bsuccess = run(script_file, 'errcatch')
Input argument
script_file - a string: path of a script
'nocatch' - a string: default option (no error catch)
'errcatch' - a string: error catched
Output argument
bsuccess - a logical: true if no error detected during script execution
Description
run(script_file) executes a Nelson's script file (.m file extension).
Examples
Creates two .m in temp directory to use as example:
run a script without error.
run a script and catch error (no error).
run a script and catch error (with error).
run a script and no catch error.
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET
Last updated