annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

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
Messaggio 1 di 4
2.714Visualizzazioni

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
Messaggio 2 di 4
2.705Visualizzazioni

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
Messaggio 3 di 4
2.692Visualizzazioni

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
Messaggio 4 di 4
2.684Visualizzazioni