Execute is in effect a pass through to MatLab execute which allows it to be used in your development environment and in addition, supports proper error handling.

Important:  Any valid MatLab single line command string can be used.


Lib.Execute "y1 = sin(x)"

This creates the MatLab variable "y1" from the formula "Sin(x)"

Note that a required trailing semicolon ' ; ' is always automatically added for you if it is missing.

if you want to see the value of the return from the command you need to use the appropriate Data return features