LAVA: running matlab mfile in labview 8.2 - LAVA

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

running matlab mfile in labview 8.2 Rate Topic: -----

#1 User is offline   Flower 

  • Active
  • Pip
  • Group: Members
  • Posts: 18
  • Joined: 20-January 10
  • Version:LabVIEW 8.2
  • Since:2009

Posted 10 March 2010 - 04:51 PM

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
0

#2 User is offline   Biometrology 

  • 2 more posts to go.
  • Group: Members
  • Posts: 8
  • Joined: 27-February 08

Posted 11 March 2010 - 09:39 AM

View PostFlower, on 10 March 2010 - 05:51 PM, said:

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.
Attached Image: bd.jpgAttached Image: fp.jpg
You just need to have a script file that calls your functions - like in the example here.

Cheers

Alex
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic