LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Matlab 7.1 from LabView 6.1

Hello,

I am using LabView 6.1 and I have recently installed Matlab 7.1 on the same machine.
When I try to call Matlab by a Matlab script node, I only get the error message that the script could not be executed and that a failure occured calling the script server. (This does not depend on what script I implement.)
Earlier, I had Matlab 6.5 which worked well with the script nodes.

What can I do to get the script nodes running?

0 Kudos
Message 1 of 2
(2,556 Views)

Hello ffffff  🙂

I can pretty much assure you that LabVIEW 6.1 has not been tested with MATLAB 7.1, and "officially" I might go so far as to say it's not supported.

That said, you might try downloading the MATLAB Script.zip file attached to this KnowledgeBase entry:

http://digital.ni.com/public.nsf/allkb/4475BC3CEB062C9586256D750058F14B

Follow the directions in the KB to update the matscript.dll file in your LabVIEW 6.1 distribution, and this might resolve the issue.  This addressed numerous issues with the MATLAB script node so that version 7.0 of MATLAB would work well with LabVIEW.  I'm not sure if this version of the matscript.dll has been tested with LabVIEW 6.1 or not, but in theory it should work.  Also, if the problems you are encountering are new to MATLAB 7.1 in specific, there may not yet be a solution for this; I don't know how new MATLAB 7.1 is.

Good luck!

Message Edited by Jeff B on 02-16-2006 07:44 AM

0 Kudos
Message 2 of 2
(2,550 Views)