LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

User defined function error in Labview mathscript

 

 I m Labview 2011 user. I had a problem when i use a user defined func in mathscript.

 

 I have used it well, but it doent work suddenly. It looks like below.

 

 캡처.JPG

 

 function name turned to grey color suddenly. Plz help me.

0 Kudos
Message 1 of 5
(8,069 Views)

Did you change the search path for .m files in the LabVIEW options (mathscript section)?

0 Kudos
Message 2 of 5
(8,062 Views)

The last time I dealt with this, it was very confusing.  If I remember correctly, there were 3 different places that I had to set the correct search path for the .m file:

 

1) Tools>Options>MathScript

2) In the Project, right-click on My Computer and select Properties>MathScript

3) Tools>MathScript Window>File>LabVIEW MathScript Properties

 

The documentation seems to indicate that at least 1 and 2 should be the same and 3 only applies to that window, but like I said, last time I did this I remember having to change all three.

 

Good luck!

Chris
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 3 of 5
(8,054 Views)

Hi,

LABVIEW mathscript is having limited MATLAB command. Threrefore, it creates problem in some of  the command.

0 Kudos
Message 4 of 5
(7,901 Views)

hi

i have problem to add function in mathscript node

i add .m file from tools>option>mathscript , but i have error for func name

it`s necessary, pleas help me

thank

0 Kudos
Message 5 of 5
(6,039 Views)