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
Page 1 of 1
running matlab mfile in labview 8.2
#2
Posted 11 March 2010 - 09:39 AM
Flower, 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
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.
You just need to have a script file that calls your functions - like in the example here.
Cheers
Alex
Share this topic:
Page 1 of 1

Help

Back to top
MultiQuote








