Hi to all of you.
I am a french (so, sorry for the mistakes I will certainly do) user of both Labview and Matlab in a scientific institute.
I use Labview for data acquisition and sometimes for processing and treatment, but for these particular tasks I prefer Matlab due to the usefulness of matrix calculation.
And with LV 8.2, I saw with pleasure this new feature: MathScript, which is said to function more or less like Matlab.
Since GUI are quite hard to code in Matlab, I was really happy to use the functionnality of matrix processing and the Labview GUI.
And then I tried to process my datas with some modified script. And I quickly stopped, due to the fact that my PC was clearly running out of memory.
I did some tests, and here is one very "strange" result. In a mathscript node, I place this calculation:
temp=ones(1000,1000);
out=sum(sum(temp));
with only "out" as the scalar output of the node. Conclusion, the memory consommation of Labview increase of... 130Mb !!!
By the way, temp is a kind of one billion array of float (or double) which means 2 or 4Mb of memory occupation. I don't understand why there is such a huge increasing of the memory used. Now I let you imagine the problem with my datas of 16384*5000 float...
So, am I pointing out a real memory managment issue of MathScript, or am I misusing it ?
Thanks in advance for your answers.
Nic