evalpythonscript
Evaluates a Python script.
[status,errorMessage] = evalpythonscript(pythonScript)
Inputs
- pythonScript
- Any valid Python command as a string
Outputs
- status
- Status of the script executed.
- 1
- success
- 0
- failure
- errorMessage
- Error message indicating the failure.
Example
[status,errormessage] = evalpythonscript('x = 9')
status = 1
errormessage =