02-06-2007 04:52 PM
02-07-2007 08:05 AM
manzoor,
In version 7 and 7.1, LabVIEW have the "MATLAB Script Node" that allows you to run m-scripts from within LabVIEW. Since you have communication between both products, minimal change (if any) is necessary, but you have to have both produts installed on the same machine for this interface to work. In LabVIEW 8.20, NI introduced the Mathscript node and this requirement is not necessary. Please look into this site: http://www.ni.com/labview/mathscript.htm to learn more about mathscript node.
In the formula node, you can use C-like convension to develop your equations. However, you can't use object-oriented programming in there. So, you need to remove the objects from the formula and use stricted types. You should be able to obtain more information in the help of the Formula Node.
Hope this helps.