11-10-2010 10:13 AM
Hi all,
I'm using labview 8.6. I'm trying to use mathscript node (putting matlab code) into my labview program. I need to import a .txt file into my mathscript. However, I found out that in mathscript node of the labview, it does not support the syntax of "textread" in which I need to import my .txt file and it is commonly used in matlab to import the file.
Is there any solution for this problem?
I have attached my program.
Thank you.
11-11-2010 03:29 AM
11-11-2010 10:33 AM
MathScript is not designed to be a 100% replacement for Matlab. There will be functional differences. You've found one, and must account for it. The documentation for that function indicates that it requires a minimum of two parameters:
[a, b, ...] = textread(file, format)
[a, b, ...] = textread(file, format, size)
Thus, you must specify the format.
11-15-2010 07:28 AM
Thank you=)
11-09-2017 06:15 AM
Can you please give an example of "how to read a .lvm file having double values".
If possible then please mention proper syntax.
Thanks.