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
(1,957 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 LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(1,948 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
(1,935 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 LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(1,927 Views)