Jump to content

MathScript/Matlab in Labview


Recommended Posts

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

Link to comment

QUOTE(Ich @ Aug 20 2007, 02:30 AM)

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.

Link to comment

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

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.