LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use matlab program in formula node in labview?

hi,

i've got one equation of voltage regulation. so i did create program for that in matlab.and want to use it in formula node in labview.but i don't know how to do that.can someone please help me for that?

regards

bhavin

0 Kudos
Message 1 of 4
(9,030 Views)

If you have already written Matlab code it is easier to import it straight into a Mathscript node. If you use a Formula node you need to translate m- syntax to c-syntax which may take longer. Note that the Mathscript node

may not support all the functions you used in Matlab so you may need to replace them with native LabVIEW functions. If you want to add inputs/outputs in your program you can just right-click on the border of the node to do that.

These structures can be on the block diagram under Programming>> Structures.

KostasB

NI UK Applications Engineering



Message Edited by KostasB on 05-28-2008 08:39 AM
0 Kudos
Message 2 of 4
(9,017 Views)
thanx
0 Kudos
Message 3 of 4
(8,972 Views)

Hello,

You might also want to consider the MATLAB Script Node. You can use your MATLAB code and the MATLAB engine from LabVIEW.

MATLAB® is a registered trademark of The MathWorks, Inc.

Regards,

Hillary E
National Instruments
0 Kudos
Message 4 of 4
(8,961 Views)