gettclvar
Imports the Tcl variable value to the OML variable.
Syntax
[omlvariablename,status,errormessage] = gettclvar (tclvariablename)
Inputs
- tclvariablename
 - Any valid Tcl variable name as a string.
 
Outputs
- omlvariablename
 - Any valid OML variable name.
 - status
 - Status of importing the Tcl variable value to the OML variable.
 - errormessage
 - Error message indicating the failure.
 
Example
[status,errormessage]=evaltclscript('set x 9');
[omlvariablename,status,errormessage]=gettclvar ('x')
      omlvariablename=9
status = 1
errormessage =