With the NI LabVIEW MathScript RT Module, you can integrate your custom .m files into the LabVIEW graphical environment. Combining the benefits of text-based math with graphical programming presents a new hybrid approach to programming that offers you the freedom to choose the most appropriate syntax. At the heart of MathScript is a high-level text-based programming language with syntax and functionality that abstract the complexity of signal processing, analysis, and math tasks. With more than 750 built-in functions for such work, you can also create your own new user-defined functions.
LabVIEW MathScript provides two methodologies for programming: an interactive and a programmatic interface. Designed for the development of scripts, the MathScript Interactive Window features a command-line interface in which you can load, save, design, and execute .m file scripts. Designed for the deployment of scripts, the MathScript Node is an embedded LabVIEW feature that connects the text-based I/O variables with the inputs and outputs of LabVIEW.
The LabVIEW MathScript RT Module runs on all LabVIEW desktop platforms as well as all LabVIEW Real-Time hardware targets. Engineered for optimal performance in a real-time operating system, the MathScript engine takes the loosely typed language synonymous with most text-based file environments, and strictly types it within the context of the LabVIEW graphical environment for efficient data type propagation throughout the underlying code. This strict typing ensures that LabVIEW can efficiently compile the text-based MathScript code for edit-time semantic and syntax error handling as well as in-node context help.
LabVIEW makes the once expensive path to hardware for .m files simple and quick. Just combine your .m file with LabVIEW graphical code using the MathScript Node, and drag and drop your application onto the real-time target within the LabVIEW project.
MATLAB® is a registered trademark of The MathWorks, Inc.