Hi Ton,
To directly use a user-defined function in the command window of LabVIEW mathscript, for example Add(x,y), someone should make sure he has configured the path of the default folder in which there is your function, namely the .m file with the same name .
The reason I can't use my .m file is that after setting the path of .m file searching folder I don't restart Labview. This is because the setting become effect, we have to restart LabVIEW.
My solution. Thanks
confidence