03-31-2015 12:18 PM
I am currently allowing a customer to define their own matlab script for post-processing their data file. This is all well and good in the development environment, beecause when I re-load this VI, it searches my MathScript search paths and re-loads the .m file if it has changed. However I am noticing that when doing a build to an exe the MathScript node seems to be compiled from the file as it is at build time.
Is there anyway to avoid this? Can I programatically call the MathScript function such that it does the search at run-time? Any ideas would be much appreciated.
04-01-2015 05:49 PM
Hey,
How are you including the .m file? Do you think you could post a screen shot of your code?
Thanks
05-14-2015 04:39 AM - edited 05-14-2015 04:39 AM
I'm encountering the same problem. I believe it is unfortunately just not possible, as the LabVIEW Runtime lacks the ability compile mathscript at runtime. This affects both calling a function in a .m file, or using eval() with a script in a string.
Perhaps NI could confirm this?