evaltclscript
Evaluates a Tcl script.
Syntax
[status,errormessage] = evaltclscript (tclscript)
Inputs
- tclscript
- Any valid Tcl command as a string.
Outputs
- status
- Status of the script execution.
- errormessage
- Error message indicating the failure.
Example
[status,errormessage]=evaltclscript('set x 9')
status = 1
errormessage =