LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

insert mathscript in sub vi labview

how to insert mathscript in labview? May I add the file .m in VI hierarchy? 
because if I insert the mathscript, there is red cross or error symbol 

I create the file .m from matlab, that's right?

Anyone can help me?

Thankyou

0 Kudos
Message 1 of 4
(866 Views)

Hi nihay,

 

what about reading the LabVIEW help for the MathScript node? (Especially the link to "user-defined functions"…)

 

I create the file .m from matlab, that's right?

You can use any text editor you like…

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 2 of 4
(857 Views)

I have been read  LabVIEW help for the MathScript node. File .m which I create has the same located with the others file .m

What is the cause of error because labview can not read the function hexToBinaryVector() ?
Even though, I run this programm in matlab is sucess

0 Kudos
Message 3 of 4
(844 Views)

Hi nihay,

 

has the same located with the others file .m

Is this included in the search path as described in the LabVIEW help?

Best regards,
GerdW

using LV2011SP1 + LV2017 (+LV2020 sometimes) on Win10+cRIO
0 Kudos
Message 4 of 4
(836 Views)