Jump to content

running matlab mfile in labview 8.2


Recommended Posts

Hi

i am working in a project using basically labview 8.2 and i wrote a program in matlab R2008(m file)and i want to run this file in my labview program; i also load this program into mathscript window but it didn't work because the m file contains many functions; i was wondering if you can please help me in this manner.

looking forward to recieving from you

Link to comment

Hi

i am working in a project using basically labview 8.2 and i wrote a program in matlab R2008(m file)and i want to run this file in my labview program; i also load this program into mathscript window but it didn't work because the m file contains many functions; i was wondering if you can please help me in this manner.

looking forward to recieving from you

You need to use a MATLAB script node. This requires you to have a MATLAB licence available but enables you to run native MATLAB code including using the toolboxes.

post-10895-126830025179_thumb.jpgpost-10895-126830027054_thumb.jpg

You just need to have a script file that calls your functions - like in the example here.

Cheers

Alex

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.