Ich Posted August 21, 2007 Report Share Posted August 21, 2007 Hi, I have a code for MatLab and I want to execute it in Labview. I tried using MathScript, but some functions are not recognized. At the moment I don't have MatLab installed. What I want to know is, if I install Matlab and call the same code using a MatLab Script Node, will the code run correctlly? Thank you Quote Link to comment
Justin Goeres Posted August 21, 2007 Report Share Posted August 21, 2007 QUOTE(Ich @ Aug 20 2007, 02:30 AM) What I want to know is, if I install Matlab and call the same code using a MatLab Script Node, will the code run correctlly? In general, yes, but only if you're on Windows. From the LabVIEW Help.... QUOTE(MATLAB Script Node (Windows, Not in Base Package)) Calls the MATLAB® software to execute scripts. You must have a licensed copy of the MATLAB software version 6.5 or later installed on your computer to use MATLAB script nodes because the script nodes invoke the MATLAB software script server to execute scripts written in the MATLAB language syntax. Because LabVIEW uses ActiveX technology to implement MATLAB script nodes, they are available only on Windows. Quote Link to comment
James N Posted August 21, 2007 Report Share Posted August 21, 2007 I was able to run .m scripts in the Matlab enviroment from ActiveX controls in LabVIEW. The one application I worked one with Matlab had me saving some data to a file, then runing an .m script to process the data file. My application was simple since this VI was the only direct interaction between Matlab and LabVIEW. http://forums.lavag.org/index.php?act=attach&type=post&id=6685 -James Quote Link to comment
Anders Björk Posted August 22, 2007 Report Share Posted August 22, 2007 What I have read from the promomotion material for LabVIEW 8.5 the support for own-functions are now built into the mathscript node. So getting 8.5 might solve your problem. I guess a lot other things has improved in the mathscript node as well. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.