04-19-2007 05:24 AM
That was easier than I thought - I found an old email I sent to my lecturer who was having the same problem - hope it helps!
If you want to update yours then follow the instructions on
By copying the new matscript.dll file you download from the site above into
C:\Program Files\National Instruments\LabVIEW 7.1\resource\script
it applies a patch which fixes the problem."
04-19-2007 05:29 AM
Thank you all for the replies
Now suddenly its working, so it leads me to this question : Do I need to open MATLAB before I run the vi ???
is there any particular order I need to do ???
Thanks
Lavi
04-19-2007 08:52 AM
04-19-2007 09:36 AM
Additional Information: If you try your code in LabVIEW 8.2 and use the Mathscript Node (just drop a Mathscript Node and copy your m-script there), it think it will give the same result as MATLAB. Mathscript converts a m-script file into LabVIEW code and executes it in LabVIEW. If you will create an EXE in the end, that would simplify a lot of your application. I don't know if you have other functions that is not in this thread, but it is worth a try.
I thought you'd like to know about that...