evalpythonfile
Evaluates a Python file.
Syntax
[status,errorMessage] = evalpythonfile (fileName)
Inputs
- fileName
- A fully qualified Python file name.
Outputs
- status
- Status of the executed file.
- 1
- success
- 0
- failure
- errorMessage
- Error message indicating the failure.
Example
[status,errormessage] = evalpythonfile('C:/test.py')
status = 1
errormessage =