How to import .m files using MathScript Node?

Updated Jun 28, 2018

Reported In

Software

  • LabVIEW
  • LabVIEW 2017 MathScript Module

Issue Details

How can I use my .m scripts that I have written previously in LabVIEW MathScript Node?

Solution

The Mathscript Node reads the .m files from a configured search path. This can be found using the following method:
  1.  Open LabVIEW MathScript Window:
  • Navigate to Tools>> Mathscript Window
  1. Open LabVIEW MathScript Properties from LabVIEW MathScript Window:
  • File >> LabVIEW MathScript Properties
  1. Select MathScript: Search Paths
  • ​​​​This will be found the left Category Pane 
  • Once selected the right pane will show you the search path(s) that LabVIEW looks for .m files. 
In order to use your mathscript .m files in the MathScript Node you can simply add your .m files to the file location specified by the Search Path.

WAS THIS ARTICLE HELPFUL?

Not Helpful