10-19-2012 02:07 PM
What is the best way to learn how to use Mathscript RT? There doesn't seem to be a class around it. I'm trying to using some matlab scripts written by a co-worker in my labview programs. The simple examples seem easy, but anything beyond that isn't very intuative. Can you call a script that includes functions and function calls? How about object oriented matlab scripts?
10-22-2012 10:35 PM
Hello thutch,
As with many things, the best way to learn is probably spending time with the tools, but as for references beyond the shipping examples, you may find the following useful:
What is the NI LabVIEW MathScript RT Module? (see links towards bottom)
http://www.ni.com/white-paper/6206/en
Deploy Your Custom .m Files to Real-Time With the NI LabVIEW MathScript RT Module
http://www.ni.com/white-paper/9292/en\
LabVIEW MathScript Example Gallery
http://www.ni.com/white-paper/3572/en
And, last but not least:
Starting Points and Resources for Learning LabVIEW MathScript
http://digital.ni.com/public.nsf/allkb/DECAE2C1DA18219F862571EE005304DE
There are also a large number of documents created and made public (often by academic institutions) that cover both general and specific topics, if you have something specific in mind I might be able to point you in the right direction.
Regards,
10-23-2012 07:49 AM
Thank you. These look like they will be helpful. I will go through these and then come back with any specific questions.
10-23-2012 08:16 AM
These are all good resources. A couple of specific questions though...
1. Can you define functions in .m files?
2. Can you use object oriented programming methods in the node?
10-23-2012 09:53 AM