Use Formula Nodes, Expression Nodes, and script nodes to perform mathematical operations on the block diagram. LabVIEW provides script nodes for the LabVIEW MathScript syntax, the MATLAB® language syntax, and the Xmath syntax. Use the MATLAB script node and the Xmath script node to execute scripts written in the MATLAB language syntax and Xmath scripts, respectively. Use the MathScript Node to execute LabVIEW MathScripts. In the MathScript Node, you generally can execute scripts written in the MATLAB language syntax. However, the MathScript engine executes the scripts, and the MathScript engine does not support some functions that the MATLAB software supports.
![]() |
Note You must have a licensed copy of the MATLAB software version 6.5 or later or the Xmath software installed on your computer to use the MATLAB script node or the Xmath script node because these script nodes invoke the MATLAB software script server or the Xmath script server, respectively, to execute the scripts. The MathScript Node, MATLAB script node, and Xmath script node are available only on Windows. |